Taufiq Umar closed in on a half-century as Pakistan reached 87 for one in replying to Bangladesh's 338 all out on the second day of the second cricket test in Mirpur.
Umar reached 44 and Azhar Ali was unbeaten on 26 before bad light halted play early.
The only wicket fell to Nazmul Hossain who had Mohammad Hafeez (14) caught behind with his first ball on his return to international cricket after playing one previous test in 2004.
Pakistan had dismissed the hosts on the stroke of tea, quickly wrapping up the innings after Shakib Al Hasan had been run out for a fine 144.
The tourists will resume day three trailing by 251 with 9 wickets in hand.
Pakistan lead the two-test series 1-nil.