With both teams already eliminated, he then played his part in a 2–1 comeback win over Panama that was Tunisia's first at the World Cup since 1978; he set up Fakhreddine Ben Youssef and then scored the winning goal, the 2,500th in the competition's history.