It was Pakistan's first victory in 66 days in England and meant they squared three-match T20I series at 1-1.
England lead the three-game Test series 1-0.
Only 10.2 overs were possible on Day 4.
England were 7/1 after Pakistan were bowled out for 236.
England lead the three-match series 1-0.
England were 92/4 at stumps in response to Pakistan's 326.
The three-Test series begins in a bio-secure environment at Old Trafford, Manchester with the opening Test on August 5.
The 20-year-old pacer also made it clear that for him Tests were the real challenge as a bowler and he wanted to leave a mark in the coming series in England.
Former Pakistan international Azhar Mahmood writes about how teen pace sensation Naseem Shah can stay injury-free and his impressions of PSL 2020.
Lanky pacer Shaheen Shah Afridi struck twice on Friday as Bangladesh struggled to 95-3 at lunch on the opening day of the first Test in Rawalpindi.