Afghanistan recorded their first-ever victory against the Proteas after a six-wicket win in the first of three ODIs in Sharjah on Wednesday.
The Proteas will take on Afghanistan in a first-ever bilateral series when the teams meet in a three-match ODI series in the United Arab Emirates in September.
South Africa were clinical in their nine-wicket victory over tournament surprise package Afghanistan in the T20 World Cup semi-final on Wednesday in Trinidad and Tobago.
Afghanistan created history after beating Bangladesh to seal a spot in the semi-finals of the T20 World Cup, eliminating Australia in the process.
Despite Pat Cummins grabbing a hat-trick for the second successive match, Afghanistan edged Australia in a thrilling T20 World Cup Super 8 match in Kingstown, Jamaica.
Suryakumar Yadav cracked a 28-ball 53 to set India up for a convincing 47-run win over Afghanistan in their opening Super 8 match at the T20 World Cup.