South Africa saw off a spirited fightback from Afghanistan to win by five wickets in their final World Cup group game and consolidate second place in the standings.
The Proteas have 14 points from their nine games, two points ahead of Australia who play Bangladesh on Saturday. Both South Africa and Australia have already qualified for the semi-finals.
Afghanistan wrapped up their best ever World Cup campaign with four wins and also sealed a place in the Champions Trophy.
The Asian side opted to bat first and posted 244 in 50 overs on the back of Azmatullah Omarzai's unbeaten knock of 97, which included seven boundaries and three sixes, while Gerald Coetzee was the pick of the South African bowlers with figures of 4-44.
In response, South Africa opener Quinton de Kock set up the chase with a breezy 41 that took him to the top of the tournament's scoring charts on 591 runs.
Rassie van der Dussen (76 not out) then guided the Proteas home, stitching together a 65-run partnership with Andile Phehlukwayo (39 not out), who smashed the winning runs with a massive six over deep mid wicket in the 48th over.
Australia were dealt an early blow in their quest to reach the Super Eight stage of the Twenty20 World Cup after the depleted former champions crashed to a 23-run defeat by Zimbabwe in Colombo on Friday.
Arsenal has wasted the chance to restore their six-point lead at the top of the Premier League table as they were held to a 1-1 draw at Brentford on Thursday, with Noni Madueke's second-half header cancelled out by Keane Lewis-Potter.
Defending champions India continued their march towards the Super Eight stage of the Twenty20 World Cup with a 93-run win over Namibia in a group A contest at Arun Jaitley Stadium on Thursday.
Brothers Justin and Anthony Mosca guided Twenty20 World Cup debutants Italy to their first win in the tournament, as their unbeaten half-centuries secured a dominant 10-wicket victory over Nepal in a Group C clash on Thursday.