Pakistan opted for a pace-heavy attack but the slow nature of the track neutralised their formidable new-ball attack of Naseem Shah and Shaheen Afridi.
Resuming the final day on 23-1, Pakistan lost skipper Shan Masood early to Hasan Mahmud for 14.
Babar Azam was dropped early but could not make the most of the reprieve and dragged a ball from Nahid Rana onto his stumps to depart for 22.
Shakib dismissed Saud Shakeel and Abdullah Shafique to put Bangladesh in charge before Miraz joined the party.
Mohammad Rizwan followed his 171 in the first innings with a fighting 51 but it was not enough.
"Never to make an excuse, but it didn't play the way we thought it would," Masood said at the presentation ceremony.
"There have been mistakes and we have to do better when we play next. There's always room for a spinner," he said.
The second test, also in Rawalpindi, begins on Friday.
Published 25 August 2024, 10:10 IST