Bangladesh remained on course for a 2-0 series whitewash over Pakistan after pace duo Hasan Mahmud and Nahid Rana bowled out the hosts for 172 in the second innings of the second Test on Monday.
Chasing 185 for victory, Bangladesh cruised to 42 for no loss in seven overs before bad light and subsequent rain forced early stumps on the penultimate day at the Rawalpindi Cricket Stadium.
Zakir Hasan was unbeaten on 31, which included two sixes, with Shadman Islam on nine at the other end and Bangladesh needing 143 runs for victory.
Earlier, Hasan (5-43) and Nahid (4-44) impressed with the ball once Pakistan resumed on nine for two.
After Taskin Ahmed removed overnight batter Saim Ayub (20), Nahid ripped the heart out of the Pakistan lineup by claiming three wickets in three overs.
A leaden-footed Shan Masood (28) slashed at a wide delivery while Babar Azam's run drought continued as he edged a Nahid delivery to Shadman at first slip on 11.
New man in Mohammad Rizwan (43) could have fallen for a first ball duck but Shadman spilled a regulation catch. Rizwan also got smacked in the helmet by a bouncer from Nahid who bowled at a lively pace in that fiery spell.
The seamer removed Saud Shakeel but Rizwan counter-attacked.
Hasan dealt a double blow after the lunch break by dismissing Rizwan and Mohammad Ali with successive deliveries and also claimed the wicket of Abrar Ahmed.
Salman Agha made 47 not out but Hasan removed Mir Hamza to claim his maiden five-wicket haul in his third test.
Bangladesh claimed the opening test by 10 wickets on August 25 in their first ever test victory against Pakistan.
'Australia Is Ripe For The Taking'
'Rohit Will Give You Energy, Confidence'
Is Ayush Badoni the new king of sixes?
Samit Dravid reacts to maiden India U-19 call-up
How close is Joe Root to breaking Sachin's record?