South Africa clinched a 68-run victory over Pakistan to move 2-1 ahead in the five-match one-day international series.
JP Duminy made 64 as South Africa set Pakistan a target of 260 to win, however the adopted hosts could only muster 191 in reply.
Spin held the key to victory once again in Abu Dhabi with Pakistan-born leg-spinner Imran Tahir scooping 4-53 to de-rail a run-chase which was on course after Mohammad Hafeez (15) and Ahmed Shezad had put on 50 for the first wicket.
Dale Steyn ended the opening stand when he had Shehzad caught by fellow returnee Hashim Amla at slip for 32, but Pakistan were still handily-placed at 86-2 before their collapse set in.
The rot began in the 20th over when the third umpire sent Umar Amin (13) back for a referred edge behind off Lonwabo Tsotsobe.
Tahir then got to work in the next over as skipper Misbah-ul-Haq took too long to review an lbw decision that appeared to hit his thigh. Asad Shafiq and Umar Akmal then both fell to soft dismissals, the latter chipping a full toss back to Tahir, and when Shahid Afridi was lbw to Ryan McLaren Pakistan were 116-7.
Wahab Riaz (33) and Sohail Tanvir (31) combined in a 59-run stand to add some respectability but they were left with too much to do and McLaren ended the match when Tanvir guided a short ball to Amla at midwicket.
Amla had missed the opening two matches after awaiting the birth of his second child but managed just 10 to prompt Faf du Plessis' earlier-than-expected walk to the crease.
Du Plessis was promoted in a new-look top-four due to injury to Graeme Smith and he shared a 77-run stand with Quinton de Kock (40) before reaching his long-awaited half-century with back-to-back boundaries off Riaz and from 54 balls.
The 29-year-old was out next over though, like De Kock stumped off Afridi, and their quickfire exits could have destabilised the innings.
Duminy ensured that was not the case, though, and piloted consecutive half-century stands with AB de Villiers (34) and David Miller (34) while reaching his own 50 from 67 balls.