Idrissa Gueye netted in the 70th minute to earn Senegal a 1-0 win over Benin at the 2019 Africa Cup of Nations on Wednesday and propel his side into the semi-finals.
The Everton midfielder fired into the corner after a neat exchange with Sadio Mane at Cairo's 30 June Stadium before Benin's Olivier Verdon was sent off late on.
Nigeria needed a late William Troost-Ekong goal to beat South Africa 2-1 in the tournament's second quarter-final on Wednesday at the Cairo International Stadium.
Extra-time looked to be beckoning after Bongani Zungu cancelled out Samuel Chukwueze's opener, but goalkeeper Ronwen Williams missed a corner into the box in the 89th minute and Troost-Ekong bundled home.