Pakistan have opted to go with experience for the ODI series against South Africa, picking veteran all-rounder Shahid Afridi despite a severe lack of form in recent months.

Afridi averages just 7.00 in his past 12 ODIs, but the selectors feel his good record against the Proteas will be beneficial, especially after losing the Test series. Other players to be included are Abdur Rehman and Asad Shafiq.

Chief selector Iqbal Qasim said: "He [Afridi] played against Afghanistan, basically we wanted to assess his fitness and he is fully fit.

"They [South Africa] are playing well against fast bowling and our pacers are struggling, so having variety in spin will prove beneficial.

"The decision to pick Afridi is based on his quality of right-arm leg spin. I am not saying go and play him in the XI, my mind says we have to have some variety.

"Our task is to select the best lot to play against South Africa and Afridi has a role to play with his variety in his bowling."

The players to miss out after being in the squad against India are Anwar Ali, Azhar Ali, Haris Sohail and Zulfiqar Babar, while Wahab Riaz replaces Sohail Tanvir in the T20 squad.

ODI squad: Misbah-ul-Haq, Mohammad Hafeez, Nasir Jamshed, Asad Shafiq, Younis Khan, Shoaib Malik, Kamran Akmal, Umar Akmal, Shahid Afridi, Saeed Ajmal, Mohammad Irfan, Junaid Khan, Wahab Riaz, Umar Gul, Imran Farhat, Abdur Rehman.

Twenty20 squad: Mohammad Hafeez, Nasir Jamshed, Shoaib Malik, Kamran Akmal, Umar Akmal, Shahid Afridi, Saeed Ajmal, Mohammad Irfan, Wahab Riaz, Umar Gul, Ahmed Shehzad, Umar Amin, Zulfiqar Babar, Asad Ali, Junaid Khan.