Spinner Taijul Islam has claimed four wickets as Bangladesh moved within three wickets of a series sweep against Pakistan on day four of the second Test in Sylhet.
Chasing a record 437 for victory, Pakistan were reduced to 7-316 by stumps on Tuesday.
No.7 batter Mohammad Rizwan, on 75, was the last realistic hope for the visitors, with Sajid Khan with him on eight.
Salman Agha and skipper Shan Masood added 71 runs each to help Pakistan take the Test to a fifth day.
"There is hope, of course," Pakistan batting coach Asad Shafiq said. "The way our batting unit performed today gives us confidence. There are 121 runs left and Rizwan is batting really well. ... If another partnership develops and goes long, we have a chance."