Pakistan declared their first innings at 434-9 in Rawalpindi.
Sri Lanka finished day two at 114-3, trailing by 320 runs.
Saqib Khan took two wickets on debut, including Lahiru Udara for 42.
Kamindu Mendis and Dhananjaya de Silva were unbeaten at the close.
Bad light stopped play 25 minutes before schedule.
Apex Sports News
Pakistan declared at 434-9 on day two of the first Test in Rawalpindi. Sri Lanka reached 114-3 at stumps, trailing by 320 runs, with bad light ending play early.