“I’ve been feeling unwell since Thursday; my body had been aching badly. I’ve been tested and unfortunately I’m COVID positive. Need prayers for a speedy recovery,” Afridi, 40, wrote on Twitter.
The swashbuckling all-rounder played over 500 international games across all formats after making his debut in 1996.
Afridi’s last match for Pakistan was the defeat by Australia in the World Twenty20 in Mohali in March 2016.