Pakistan defeated South Africa by the Duckworth-Lewis method after rain washed out their Group B Champions Trophy match here.
Batting first, South Africa had set a Target of 220 runs. Pakistan were comfortably placed at 119/3 in 27 overs when a rather lengthy spell of rain forced the match to be abandoned.
When the rain did not show any signs of letting up even after a couple of hours, the target was revised to 101 runs and Pakistan were declared the winners.
Wednesday night’s win kept Pakistan alive in the tournament.
They suffered a humiliating 124-run thrashing at the hands of arch-rivals India and a second consecutive defeat would have sent them crashing out of the tournament.
But they would need to beat Sri Lanka in their last group match in order to have a chance of reaching the semi-finals.
South Africa on the other hand, face a must win clash against India in their last group engagement.
Chasing a modest target, Pakistan were handed a steady start by a quickfire innings by opener Fakhar Zaman.
Zaman scored 31 runs off 23 balls and was involved in a 40-run opening stand with Azhar Ali that came off 7.2 overs.
Fast bowler Morne Morkel brought the Proteas back into the game by dismissing both Pakistan openers in the eighth over.
That seemed to apply the brakes on the scoring rate with Babar Azam and Mohammed Hafeez adding 52 runs between them off 94 balls.
After Hafeez was dismissed by Imran Tahir, Shoaib Malik joined Azam in the middle.
However, rain played spoil sport soon after as it has for almost every game in this tournament so far.
Earlier, Pakistan produced an excellent bowling effort to restrict South Africa to 219/8.
Pacer Hasan Ali spearheaded the Pakistan bowling attack with figures of 3/18. Fellow pacers Imad Wasim and Junaid Khan returned 2/20 and 2/53 respectively, while off-spinner Mohammad Hafeez also bagged a wicket.
David Miller was the highlight of a poor batting effort by the Proteas, notching up a gritty half-century even as wickets fell at regular intervals at the other end.
The left-hander remained unbeaten on 75 off 104 deliveries with one boundary and three sixes.
The rest of the South African batsmen were no match for the scorching Pakistani pace attack with opener Quinton de Kock their second highest scorer with 33.
South Africa: 219/8 in 50 overs (David Miller 75 not out; Hasan Ali 3/24) vs Pakistan 119/3 in 27 overs (Fakhar Zaman 31, Babar Azam 31 not out).