Hafeez added 34 quickfire runs with Shoaib Malik (10) as Pakistan romped home with two balls to spare.
The win ensured Pakistan their seventh consecutive T20I win since July this year.
Captain Aaron Finch disappointed for the second time in the running departing for just three
After restricting Bangladesh to 239, Pakistan’s top-order faltered and they were restricted to 202/9, thus bowing out of the tournament with three loses and two wins and Sarfraz was critical of the team’s batting performance throughout the tournament.
Hashmatullah Shahidi missed out on a maiden hundred by a mere three runs but still steered Afghanistan to a challenging 257-6 against Pakistan in the Asia Cup at Abu Dhabi on Friday.
In their opening encounter of the Asia Cup 2018 Super 4 stage Afghanistan have opted to bat first against the Srafraz Ahmed-led side at the Sheikh Zayed Stadium, Abu Dhabi on Friday.
Pakistan, ranked No 5 in ODIs, will face second-ranked India in the UAE on September 19.
The Pakistan innings was dominated by Fakhar Zaman. Later, Shaheen Afridi took 3 wickets.
Pakistan's under-19 star, Shaheen Afridi picked 5 wickets for just 4 runs.