The controversy surrounding the final of the Copa Africana de Nações began when Senegal had a goal disallowed due to a foul on Hakimi by Seck in the 93rd minute. The referee then awarded a penalty to Morocco, claiming that Malick Diouf of Senegal had pushed Brahim Díaz of Morocco in the area. Senegal's team left the field in protest, with their coach Pape Thiaw requesting that they do so. They returned 14 minutes later, with Sadio Mané taking the reins.

The final went to extra time, and it was there that Pape Gueye scored the winning goal for Senegal. However, the Moroccan Football Federation lodged an appeal with the CAF, requesting that Senegal be declared the loser by default and that Morocco be awarded the title. The CAF accepted this appeal two months later, declaring Morocco the champion with a 3-0 win in Rabat.

The decision to revoke Senegal's title was based on articles 82 and 84 of the Copa Africana de Nações regulation. Article 82 states that if a team leaves the field before the end of the game without the permission of the referee, it will be considered the loser and will be definitively eliminated from the competition. Article 84 states that the team that violates the provisions of articles 82 and 83 will be permanently excluded from the competition and will lose the game by 3-0.

The CAS has now overturned this decision, declaring Senegal the champion of the Copa Africana de Nações. The final was played in 2025.