Pakistan won 10 times, registering a winning percentage of 66.66 while Sri Lanka clinched 5 victories.
Faheem is also the first Pakistani bowler in fifteen years across all formats to achieve three-in-three, the last Pakistani bowler to achieve an global hat-trick was Mohammad Sami, who achieved the feat during Lahore Test against Sri Lanka in March 2002.
Fast bowler Faheem Ashraf became the first Pakistan bowler to achieve a hat-trick which reduced Sri Lanka to 124-9 in their 20 overs.
Sri Lanka looked set to end their losing streak when captain Sarfraz Ahmed (28) was run out and Pakistan needed 12 to win off five balls when Vikum Sanjaya removed Ashraf, but Shadab launched a six after Gunathilaka spilled Ali in the deep and took two off the penultimate delivery to win it.
He is also the sixth bowler in the world to claim a hat-trick in the format.
Sony announces the mid-range Xperia R1 and Xperia R1 Plus
Unfortunately, unlike some of Sony's more expensive devices, there aren't any front-facing speakers to be seen here. The smartphones sport a 13-megapixel rear camera with Sony Exmor sensor, Autofocus, 8X digital zoom and LED flash.
Khalil was hailed as a national hero for getting the team to the secured stadium and he was rewarded by the Pakistan government and invited to Sri Lanka where he was given a medal of bravery and a reward of $35,000.
Udana was the first batsmen to be dismissed by Ashraf in the 19th over.
Danushka Gunathilaka top-scored with a 48-ball 51 with four boundaries and a six but Ashraf's feat stopped Sri Lanka from posting a challenge total.
It was finally an attempt at a sharp single that broke the opening stand, Imad Wasim scoring a direct hit to find Munaweera short of the crease. He was bowling the second last over of the game in which last three balls of his third over were all wickets.
Ashraf completed his hat trick by having Dasun Shanaka leg before wicket as Sri Lanka could only score 18 runs in the last four overs.