In a match with a total score of 213, the lowest total score involved South Africa and Afghanistan in ODIs.

With seamer Fazalhuq Farooqi claiming 4-35, AM Ghazanfar pocketing 3-20 and spinner Rashid Khan returning to white-ball cricket with a haul of 2-30, Afghanistan beat South Africa for a paltry 106 and then rode an unbeaten run of 47. partnership between Azmatullah Omarzai (25 not out) and Gulbadin Naib (34 not out) to reach 107/4 in 26 overs, winning the match with a whopping 144 balls remaining.

It was Afghanistan's bowlers who set up the win by rattling South Africa early with Farooqi castling opener Reeza Hendricks for nine runs. One became two for Farooqi when he took another inside edge with a slower delivery to return South Africa's stand-in captain Aiden Markram for just two off five balls.

Left-arm seamer Farooqi dealt another blow, returning opener Tony de Zorzi (11) as they fell to 25/3 in the seventh over.

Ghazanfar claimed the wickets of Tristan Stubbs (0) and debutant Jason Smith (0) in the eighth over as South Africa slipped to 29/5. They lost two more wickets as they fell to 36/7 in the 10th over, further exacerbating South Africa's woes.

Wiaan Mulder (54, 84b, 4x5, 6x1) contributed a patient half-century to take South Africa past the 100-run mark before losing some quicker wickets as their innings dwindled to 106.

Chasing a modest target, Afghanistan lost experienced batsman Rahmanullah Gurbaz for zero to Lungi Ngidi as the batsman went for a long delivery that moved a little.

Rahmat Shah didn't last long either, caught lbw by Bjorn Fortuin for eight and when Fortuin bowled Riaz Hassan for 16 (35b, 4x2), Afghanistan were reduced to 38/3 in the 14th over. Captain Hashmatullah Shahidi added 16 runs to the scoreboard to take the score to 60.

Azmatullah Omarzai (25 not out) and Gulbadin Naib (34 not out) added 47 runs for the inconclusive fifth-wicket partnership as Afghanistan registered a memorable victory.

Brief scores:

South Africa 106 not out, Gulbadin Naib 34 not out; Bjorn Fortuin 2-22) by six wickets.