The 30-year-old Shafaq, who made his Afghanistan debut in 2009 and has played 24 one-day internationals and 46 Twenty20 internationals, will be banned from all forms of cricket.
England beat Afghanistan by 15 runs in a World Twenty20 Group One match at the Feroz Shah Kotla Stadium on Wednesday to keep alive their semi-finals hopes.
Penpix of the Afghanistan squad for the 2015 cricket World Cup in Australia and New Zealand