In the starting XI as captain, Hakimi played the whole game and scored Morocco's fourth penalty in the shoot-out. At home, the Atlas Lions are looking to pick up their second continental crown after 1976.
They will face Ibrahim Mbaye's Senegal, who defeated Egypt earlier in the evening.
Nigeria - Morocco : 0-0, (2-4 pens.)
Africa Cup of Nations 2025 - Semi-Final
Prince Moulay Abdallah Stadium, Rabat (Morocco)
NIGERIA: Nwabili, Osayi-Samuel, Ajayi, Bassey, Onyemaechi, Onyeka (Chukwuese, 120+1'), Onyedika (Moses Simon, 83'), Iwobi, Lookman, Osimhen (Onuachu, 118'), Adams (Dele-Bashiru, 98'). Coach: Eric Chelle
MOROCCO: Bounou, Hakimi, Aguerd, Masina, Mazraoui, El Khannouss (Targhalline, 84'), El Aynaoui, Saibari (Ben Seghir, 118'), Brahim Diaz (Akhomach, 107'), El Kaabi (Igamane, 84'), Ezzalzouli (En-Nesyri, 103'). Coach: Walid Regragui