Taufiq Umar completed his seventh Test century as Pakistan closed in on a first innings lead by reaching 292-3 before bad light ended play on the third day of the second Test against Bangladesh on Monday.
Taufiq, who was dropped twice, hit 130 before paceman Nazmul Hossain broke through with the second new ball as the home side toiled for a wicket.
Shahriar Nafees took the catch at slip to end Taufiq's gritty innings that included 16 fours.
Former captain Younus Khan was unbeaten on 48 alongside skipper Misbah-ul Haq (26 not out) with Pakistan needing another 47 runs to overhaul Bangladesh's first innings total of 338.
The home were left ruing missed chances with three catches spilled.
Nazimuddin dropped Taufiq in the gully off the bowling of Robiul Islam with the first ball after the lunch break while Nafees grassed another catch at short-leg off Elias Sunny with Taufiq on 118.
Shahadat Hossain also put down Younus Khan off Nasir Hossain at mid-wicket when he was on 15.
The hosts made their only other breakthrough of the day when Azhar Ali fell in the second session after the morning's play was delayed by heavy fog.
Ali had shared a 127-run stand with Taufiq when he was caught behind by wicket-keeper Mushfiqur Rahim off the bowling of spinner Shakib Al Hasan for 57.
Pakistan lead the two-match series 1-0 after an innings and 184-run
Scorecard:
Bangladesh (first innings): 338 (Shakib Al Hasan 144, Shahriar Nafees 97)
Pakistan (first innings): (overnight 87-1)
Mohammad Hafeez c Rahim b Nazmul Hossain 14
Taufiq Umar c Nafees b Nazmul Hossain 130
Azhar Ali c Rahim b Shakib Al Hasan 57
Younus Khan not out 48
Misbah-ul-Haq not out 26
Extras: (lb-1, nb-15) 17
Total: (three wickets; 96 overs) 292
Fall of wicket: 1-23, 2-150, 3-245
Bowling: Shahadat Hossain 13-1-63-0 (nb-6), Robiul Islam 18-3-65-0 (nb-6), Nazmul Hossain 20-4-51-2 , Mahmudullah 12-2-29-0, Shakib Al Hasan 18-5-28-1, Elias Sunny 8-0-36-0, Nasir Hossain 7-0-19-0.
Pakistan reply well to Bangladesh's 338
Pakistan pile 594-5, Younis slams double
Rehman spins Pakistan to win over Bangladesh
PCB denies Pakistan players permission to play Bangladesh league
Shakib, Nafees frustrate Pakistan with record stand