Pakistan won the toss and elected to bat first against South Africa in the 26th match of the ICC ODI World Cup 2023 at the MA Chidambaram Stadium here today.