Pakistan's second innings came to an end with Hasan claiming his fifth wicket, all out the hosts for 172 runs in 46.4 overs.
Pakistan, having a 12-run lead from the first innings, set a target of 185 runs for Bangladesh to win the match.
Despite a strong start, Pakistan couldn't maintain their momentum against the disciplined Bangladesh bowling attack. Pakistan now leads by 184 runs going into the second session.
Starting the day at 9 runs for 2 wickets, Pakistan added 163 runs for the remaining eight wickets. Agha Salman, who remained unbeaten, scored the highest with 47 runs, while Mohammad Rizwan contributed 43 runs. For Bangladesh, Hasan took 5 wickets for 43 runs, while Nahid Rana claimed 4 wickets for 44 runs. The other wicket was taken by Taskin Ahmed.