Shafi played his first international match with the
Jordan national team against
Kenya in a
friendly match on 17 August 2002, which ended in a 1–1 draw. Shafi is and has always been nicknamed the "Whale of Asia" due to his outstanding and incredible acrobatic saves and performances. He scored his first international goal for Jordan in a friendly against
India on 17 November 2018, letting fly with a long kick that bounced just outside the India penalty area, catching his opposite number
Gurpreet Singh Sandhu by surprise. The game ended 2–1 in Jordan's favour. He later played in the
2004,
2011,
2015 and
2019 AFC Asian Cup tournaments. On 1 February 2021, he played his last international match in a 2–0 win over
Tajikistan in a friendly match. ==Retirement and aftermath==