Umar Gul (3-48) bowled well in the final overs to make sure good work by spinners Saeed Ajmal (3-42) and Shahid Afridi (2-42) did not go waste as they dismissed Sri Lanka for 236 in the penultimate over.
Captain Tillakaratne Dilshan top scored with 64 but it was Angelo Mathews whose aggressive 40-ball 32 kept Sri Lanka in the hunt before Gul took the last two wickets in a thrilling finish.
Sri Lanka were in a tight corner at 186-6 in the 41st over before Mathews and Jeevan Mendis (19) added 32 for the seventh wicket in quick time to threaten Pakistan, who in the end carried the day.
Pakistan won the first match by eight wickets last Friday while Sri Lanka levelled the series with a 25-run win in the second match on Monday - both played in Dubai.
The remaining matches will be played in Sharjah (November 20) and Abu Dhabi (November 23). Both teams also play a Twenty20 international in Abu Dhabi on November 25.
Sri Lanka were set on course for a win by Dilshan who added 106 runs for the second wicket with Kumar Sangakkara (45) after they lost opener Upul Tharanga (four) in paceman Umar Gul's first over.
Sangakkara, who survived a run out with the total at 89-1, finally failed to beat a direct throw from Shahid Afridi from mid-on after he set off for a quick single.
He hit three boundaries during his 66-ball knock.
Pakistani spinners Afridi and Ajmal then put the brakes on Sri Lankan innings, as Dilshan dragged a leg-break from Afridi onto his stumps after hitting eight boundaries in his 78-ball knock.
Jayawrdene completed his 10,000 runs during his brief knock of 17, becoming the ninth batsman and second Sri Lankan to achieve the landmark.
Pakistan captain Misbah-ul Haq said Sangakkara's run out turned the match.
"We bowled well in the final overs but the turning point was Sangakkara's run out because before that point they were well and truly on course for a victory," said Misbah.
Dilshan agreed with his counterpart.
"The turning point was Sangakkara's run out and I got out to a bad delivery," said Dilshan. "Had one of us batted for four more overs we would have clinched the game."
Earlier openers Mohammad Hafeez and Imran Farhat hit attractive half-centuries before Sri Lankan bowlers checked Pakistan's progress in the third day-night international at Dubai stadium here on Friday.
Hafeez made a 101-ball 83 and Farhat notched an 82-ball 70 to give Pakistan, who won the toss and batted, a sold 151-run start before Sri Lanka grabbed four quick wickets to restrict the innings to 257-8 in their allotted 50 overs.
Pakistan, aiming to bounce back in the five-match series after losing the second match by 25 runs here on Monday, lost track of a big total after losing four wickets in the space of 26 runs.
Pakistan won the first match, also played here last Friday, by eight wickets.
Hafeez, who took 26 balls for his first ten runs, hit paceman Dilhara Fernando for four boundaries in the 18th over to step up the tempo before he was finally bowled by spinner Seekkuge Prasanna in the 30th over.
Hafeez hit nine boundaries and a six during his 11th one-day half century.
Ten runs later Farhat followed, caught at long-on off Tillakaratne Dilshan. He hit six boundaries and a six.
Pakistan's decision to promote Abdul Razzaq backfired as the allrounder hit Prasanna straight into the hands of long-on after scoring just six off 16 balls.
Pakistan was forced to take the batting power-play in the 36th over and managed just 22 runs losing Umar Akmal and Misbahul (seven each) but Younis Khan hit a fighting 52-ball 42 to ensure Pakistan cross the 250-mark.
Prasanna and Malinga finished with two wickets apiece.
COMMENTS (19)
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ
@Speech you thought so, it didnt looked to me, his foot was clearly in the air, with frames catching while he was trying to move it back. Sirilankan commentator tried it to make it look otherwise and Rameez Raja did not agreed with him, before decision as well. If you know so much about corruption, why dont you join ICC anti-corruption unit, your analysis might help them catch some culprits.
Speech: the third umpire was Illingworth from UK. Now buzz off you censored
@antanu: You conveniently ignored my main point there. The whole world saw Mahela's feet firmly grounded behind the crease except the third umpire. Sri Lanka was still in a relatively comfortable position with 90 required from 90 balls. I can only speculate with a batsman of Jaywrdene's class, still there and Angelo Mathews to come Sri Lanka could've won. The stumped-out decision was scandalous and an intentional 'error' by the third umpire. Given the history of the Pakistani team ICC's anti-corruption unit must investigate this match.
Amazing captaincy by Misbah, with good bowling changes.
Mahela stumped out was incorrect, 50/50 chances should always favour the batsman. Another possible betting induced mis-deed by the third umpire. If Mahela Jaywrdene had continued the result would've been completely opposite.
How many more chances we need to provide Abdul Razzak at the expense of aspiring young cricketers; he can't bowl, bat or field. Success in Super Sixes does not guarantee similar performance in ODIs.
Three cheers for Pakistan.
Hip Hip HURRAY
Hip Hip HURRAY
HIP HIP HURRAYYYYYYYYYYYYYYY
@Traitor: all of us selling nation to the world why you single out only two person?
Farhat ne phir fifty kardi.. :(
Excellent we did not take any bribes today
Thats what I called top-order batting and bowling at right time. Great job!
Misbah aur Yunus k Gunah phir dhul jayenge
Congrates! @Traitor: Ditto! Couldn't have said it better myself.
Good job! Nice tight match
just replace Tanvir with either Junaid or Cheema for the next match
Thanks... folks... for giving a happy news ... otherwise everywhere are bad news... terrorist attacks... lotas joining imran's khan inqalab...
Great job guys, you always give us a reason to lift our head high while our own President and ambassador is selling this nation and country to the world.