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.
Prokhorov to sell 49 percent of Nets to Joseph Tsai, source confirms
The Nets last made the playoffs in 2015, losing in the first round to the Atlanta Hawks after a sub-.500 regular season. Earlier this year, Prokhorov told Russian media he was in the process of selling 49 percent of the franchise.
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.