Pakistan scored 111 runs in the second session for the loss of one wicket. The hosts were 206/3 at tea.
The host team is in a commanding position at tea on day 2 of the Rawalpindi Test.
Pakistan opener Shan Masood scored his seventh Test ton before falling to Taijul Islam, just before tea.
The home team started the session with 95/2. A partnership of 112 runs between Shan Masood and Babar Azam meant a futile session for Bangladeshi bowlers.
Azam picked up his 16th half-century and remained unbeaten on 69 at tea.
Before that, Pakistan had a good first session on the second day.
After bundling out the visitors for 233, the hosts compiled 95/2 at lunch on day 2.
Pakistan did not start the day well. Abid Ali was out for 0 in the second over.
The Pakistan opener was caught by Liton Das off Abu Jayed.
Then there was a 91 run partnership between Shan Masood and Azhar Ali.
Pakistan skipper Azhar went just before lunch. Abu Jayed picked up his wicket on 34.
Jayed was the pick of the bowlers for Bangladesh, as he maintained a good channel and kept a tight economy rate.
He bowled 10 overs for 22 runs and two wickets.
Masood completed his half-century before lunch and was unbeaten at 59.