South Africa beat Afghanistan by 37 runs in the Super Ten match of ICC World Twenty20 at Wankhede Stadium in Mumbai, India.