Meanwhile, Ghana are in danger of failing to qualify for the Nations Cup for the first time since 2004 after slumping to a 2-0 away defeat against Sudan.
Fielding a strong team, captained by West Ham’s Mohammed Kudus and including Antoine Semenyo of Bournemouth, the Black Stars were undone by two quick second-half goals.
Sudan forward Ahmed Al-Tash bundled the ball over the line for their first in the 62nd minute after Saif Teiri’s shot rebounded off the post.
Mohamed Abdelrahman doubled the lead just three minutes later, running onto a through ball from Ahmed Yousif and slotting past Ghana goalkeeper Lawrence Ati Zigi.
The match was played in the Libyan city of Benghazi as Sudan cannot play at home because of the civil war in the country.
Ghana are now third in Group F with just two points from four games, and qualification is now out of their hands.
The Black Stars must now win their remaining games against Angola and Niger next month and hope that Sudan, who have seven points, lose both of theirs.
Afcon 2025 qualified teams
Morocco (hosts), Algeria, Burkina Faso, Cameroon, DR Congo, Senegal