Sadio Mane's last-gasp free-kick sent Senegal to the 2025 Africa Cup of Nations after edging out Malawi 1-0 on Tuesday. (More Football News)
Despite dominating for large parts of the contest, Senegal were unable to break down Malawi's stern defence, with goalkeeper William Thole making a string of impressive saves.
However, after Robert Saiz hauled Mane down just outside the area, the Al-Nassr forward stepped up and curled home the winner in the sixth minute of second-half stoppage time.
The 2021 winners of the competition joined Burkina Faso in qualifying for the tournament that takes place in Morocco next year, with both sides on 10 points in Group L.
But in Group F, Ghana look set to miss the tournament for the first time since 2004 after slumping to a 2-0 defeat to Sudan at the Martyrs of February Stadium.
Despite the likes of Mohammed Kudus, Antoine Semenyo and Inaki Williams in their ranks, two goals in three second-half minutes from Ahmed Al-Tash and Mohamed Abdel Rahman did the damage.
Ghana remain winless in their four qualifying games so far and sit five points adrift of the top two, knowing they must beat both group leaders Angola and then Niger next month to have any chance of reaching the finals.