Match ends, Egypt 1, Uganda 0.
Egypt 1-0 Uganda
Substitute Abdallah El Said scored a late winner for Egypt to knock Uganda out of the Africa Cup of Nations.
After a drab game with few chances for either side, Mohamed Salah teed up El Said, who struck firmly past Uganda keeper Denis Onyango on 89 minutes.
Uganda's Joseph Ochaya earlier had a goal correctly disallowed for offside.
The win means Egypt play Ghana on Wednesday with top spot of Group D still at stake, while Uganda are out of their first tournament since 1978.
Ghana secured their place in the quarter-finals with a 1-0 victory over Mali earlier on Saturday.
On a deteriorating pitch in Port-Gentil, seven-times champions Egypt failed to break down a resolute Cranes defence for long periods.
Onyango made an impressive clearing header to deny the onrushing Salah at the end of an otherwise lifeless first half.
Uganda began the second half brightly, forcing veteran Egypt goalkeeper Essam El Hadary to punch several set-pieces clear but ultimately failed to register a shot on target as Ochaya turned in Faruku Miya's through ball from a clearly offside position on 52 minutes.
El Said blasted a shot well over when unmarked and Marwan Mohsen went close for the Pharaohs with a header, but Egypt appeared to be heading for their second consecutive goalless draw.
However, an otherwise quiet Salah showed great composure late on to check his shot and play in El Said with a reverse pass, the substitute's close-range shot evading Onyango.
Uganda now face Mali in the final round of group games on Wednesday, with Mali needing a win and for Ghana to beat Egypt by two goals or more if they are to qualify.
- 1El Hadary
- 7Ahmed Ibrahim
- 2Gabr Mossad
- 17El Neny
- 8El Said HamedBooked at 24minsSubstituted forEl Saidat 59'minutes
- 21HassanSubstituted forAbdel-Moneimat 79'minutes
- 14SobhiSubstituted forWardaat 66'minutes
- 4Sayed Gaber
- 5Mohamed Gad
- 12Abdallah Duiedar
- 16Ekramy Ahmed
- 19El Said
- 20Saad Ali
- 12IgumaSubstituted forOloyaat 90+1'minutes
- 17MiyaSubstituted forWadadaat 81'minutes
- 11MassaSubstituted forShabanat 65'minutes
- Malang Diedhiou
- Shots on Target
Second Half ends, Egypt 1, Uganda 0.
Offside, Uganda. Murshid Jjuko tries a through ball, but Muhammad Shaban is caught offside.
Hand ball by Moses Oloya (Uganda).
Kahraba (Egypt) wins a free kick in the attacking half.
Foul by Hassan Wasswa (Uganda).
Offside, Egypt. Kahraba tries a through ball, but Marwan Mohsen is caught offside.
Substitution, Uganda. Moses Oloya replaces Denis Iguma.
Mohamed Shafy (Egypt) wins a free kick in the defensive half.
Foul by Khalid Aucho (Uganda).
Goal! Egypt 1, Uganda 0. Abdallah El Said (Egypt) right footed shot from the centre of the box to the centre of the goal. Assisted by Mohamed Salah.
Attempt missed. Amr Warda (Egypt) right footed shot from outside the box is too high. Assisted by Mohamed Shafy.
Corner, Uganda. Conceded by Ahmed Fathy.
Attempt blocked. Joseph Ochaya (Uganda) left footed shot from outside the box is blocked. Assisted by Nicholas Wadada.
Delay over. They are ready to continue.
Substitution, Uganda. Nicholas Wadada replaces Faruku Miya.
Substitution, Egypt. Kahraba replaces Trezeguet.
Delay in match Khalid Aucho (Uganda) because of an injury.
Attempt saved. Marwan Mohsen (Egypt) left footed shot from outside the box is saved in the centre of the goal. Assisted by Amr Warda.
Tonny Mawejje (Uganda) wins a free kick in the defensive half.
Foul by Mohamed Elneny (Egypt).
Delay over. They are ready to continue.
Delay in match Mohamed Shafy (Egypt) because of an injury.
Foul by Muhammad Shaban (Uganda).
Ali Gabr (Egypt) wins a free kick in the defensive half.
Hand ball by Trezeguet (Egypt).
Attempt missed. Marwan Mohsen (Egypt) header from the centre of the box is just a bit too high. Assisted by Mohamed Shafy with a cross following a set piece situation.
Foul by Murshid Jjuko (Uganda).
Marwan Mohsen (Egypt) wins a free kick in the attacking half.
Godfrey Walusimbi (Uganda) wins a free kick on the left wing.
Foul by Ahmed Fathy (Egypt).
Attempt saved. Trezeguet (Egypt) right footed shot from the centre of the box is saved in the centre of the goal.
Attempt blocked. Trezeguet (Egypt) right footed shot from outside the box is blocked. Assisted by Amr Warda.
Substitution, Egypt. Amr Warda replaces Ramadan Sobhi.
Substitution, Uganda. Muhammad Shaban replaces Geofrey Massa.
Attempt missed. Abdallah El Said (Egypt) right footed shot from the centre of the box is high and wide to the right.
Foul by Joseph Ochaya (Uganda).
Ahmed Fathy (Egypt) wins a free kick in the defensive half.
Substitution, Egypt. Abdallah El Said replaces Tarek Hamed.
Foul by Geofrey Massa (Uganda).