Yet it was the latter who was the first to depart after adding only 4 runs to his overnight score, gloving a vicious bouncer from Oliver straight into the hands of wicket-keeper Quinton de Kock.
Dale Steyn (2-37) then removed Pakistan openers Imam-ul-Haq (35) and Shan Masood (37) after the pair had given the tourists a solid start to their chase and Duanne Olivier (1-41) continued his fine form in the series with the wicket of Azhar Ali (15).
Rabada did not need help from any of his team-mates when he caught and bowled Hassan Ali and South Africa ensured victory when Muhammad Abbas was run out by a combination of Zubayr Hamza and De Kock.
Pakistan's captain picked up five catches in the Proteas' first innings at the Bullring to break Moin Khan's previous record of four catches in an innings against South Africa, which was set at the same venue in the 1994-95 season. They will resume on Monday on 153-3 with Asad Shafiq (48) and Babar Azam (17) at the crease as they look to chip away at the 228-run deficit.
The visitor's got off to a dream start in the second innings as they reduced Proteas to 100 for five in 29 overs before Hashim Amla and De Kock stitched a gritty 103-run stand. Amla scored a patient 71 off 144, while the wicketkeeper-batsman laced 18 fours and a six to score his fourth Test century.
South Africa batted first at the Wanderers and posted a modest looking 262.More news: Jayme Closs’ aunt shares how teen spent her first day home
More news: Snow, ice become more widespread Saturday night, Sunday morning
More news: Kylie Jenner loses ‘Most Liked Instagram Post’ to an Egg
For Pakistan, their skipper Sarfaraz Ahmed was the highest scorer in the first innings.
But Shadab Khan made the Proteas wait for victory, smashing a courageous 47 not out off 66 balls.
This series will be remembered for "Duanne the Destroyer" with the big, muscular quick bowler finishing the series with 24 wickets, one shy of the South African record for the most wickets in a three match series set 116 years ago by left-arm wrist spinner Charlie Llewellyn against Australia.
The 35-year-old cricketer enjoys an extraordinary strike rate of almost 42, which is the sixth-best amongst all bowlers who have bowled atleast two thousand deliveries.
Steyn's two wickets took his total in Tests to 433, bringing him level with Sri Lanka's Rangana Herath and Stuart Broad of England in joint eighth place on the all-time Test wicket-takers list.