Dhaka: Pakistan reached 87 for 1 to trail Bangladesh by 251 runs at stumps on Sunday on the second day of the second Test.
Earlier, at tea, after Bangladesh was dismissed for 338, Pakistan batted for eight overs before the break but lost opener Mohammad Hafeez on 14.
Taufeeq Umar was unbeaten on 11 with Azhar Ali on 8. Nazmul Hossain (1 for 8) took the wicket of Hafeez, who was caught by wicketkeeper Mushfiqur Rahim.
Earlier, Pakistan's Aizaz Cheema and Umar Gul took three wickets each to dismiss Bangladesh. Saeed Ajmal also claimed two wickets for the visitors, conceding 64 runs.
Cheema finished with 3 for 73, while Gul claimed 3 for 102. Shakib Al Hasan smashed 144 runs to lead Bangladesh before being run out by Umar in the second session.
Shakib added 82 runs with partner Mushfiqur Rahim in a sixth-wicket stand a day after he and Shahriar Nafees tallied 180 — Bangladesh's first century partnership in Tests in more than a year.
Immediately after Shakib's dismissal, Rahim lost his concentration and nipped a lengthy delivery from Gul outside leg stump that was caught by Adnan Akmal.
Bangladesh then quickly lost the remaining wickets, adding only 33 runs.
Pakistan lead the two-Test series 1-0 after the visitors beat Bangladesh by an innings and 184 runs in the first Test in Chittagong.