With just one day left in the match, a draw is the most likely result on Friday.
The fourth day of the match belonged to Bangladesh veteran Mushfiqur Rahim, whose epic knock of 191 helped the visitors take a 117-run lead in the first-innings.
Mehidy Hasan Miraz (77) and Liton Das (56) also made crucial contributions in the lower order to take Bangladesh to 565 all out in response to Pakistan’s first-innings effort of 448 for 6.