Taijul Islam removed overnight batsman Abdullah Shafique (52) and new man Azhar Ali (0) in consecutive deliveries off the first over of the third day of the first Test to pull back Bangladesh into the game against Pakistan.
The left-arm spinner had Shafique leg-before getting rid of Azhar in the same fashion, albeit after a review as the umpire did not initially give that out.
Pakistan had started the morning on 145 for no loss, chasing Bangladesh's first innings score of 330 all out.
Babar Azam (3) and Abid Ali (95) were at the crease with Pakistan reaching 145 after 64 overs.