Ghana saw their unbeaten run at the Africa Cup of Nations halted after a narrow 1-0 defeat at the hands of Egypt.
Black Stars surrendered top spot to the North African giants and will travel to Oyem to square off against DR. Congo.
The result means Egypt will face Morocco and Ghana will take on DR Congo in last-eight matches on Sunday.
AS Roma star Mohamed Salah provided the decisive moment, lashing in a free-kick through a gap in Ghana's defensive wall.
A mistake by Ghana keeper Brimah Razak presented Marwan Mohsen with a chance to double the lead but he shot over.
Daniel Amartey missed Ghana's best chance, heading wide from Christian Atsu's free-kick to the back post.
Record seven-time African champions Egypt knew a point would be good enough to take them through to the knockout stage and, after Roma forward Salah put them ahead, they were content to sit back and protect their position.
But for all Ghana's increased possession, Avram Grant's side - not helped by the loss of captain Asamoah Gyan to injury on 40 minutes - could not find the cutting edge up front to get back on level terms.
And when it appeared they might break through after Atsu's excellent jinking run had earned him a good shooting chance, the ball bobbled up off the much-criticised Oyem pitch and bounced off his shin as he took aim.
Emmanuel Badu's low drive from 25 yards brought a decent save from Egypt's 44-year-old goalkeeper Essam El Hadary, and the Nations Cup's oldest ever player was also equal to Jordan Ayew's fizzing effort late on.
Given Ghana's lack of goal threat, Grant will be concerned that Gyan's injury will rule the striker out of the match against DR Congo.
Egypt will take confidence from inflicting a first defeat on Ghana in Gabon - it was also the first goal the Back Stars had conceded at the tournament - as well as standout performances by midfielder Mahmoud Hassan and centre-backs Ali Gabr Mossad and Ahmed Hegazy.
Latest Stories
-
We will begin geotagging and geofencing of excavators from ports – Armah Buah
13 seconds -
Kuami Eugene to donate revenue from his rendition of ‘Awoo Mawugné’ to Omar B’s family
7 minutes -
IMCC convenes decentralisation sector working group meeting
15 minutes -
TGMA Errors and Omissions: Kuami Eugene added as songwriter of Okyeame Kwame’s ‘No Competition’
28 minutes -
Regard illegal miners as ‘dangerous terrorists’ – Kofi Buah
38 minutes -
GPL 2024/25: ‘Title race not over’ – Heart of Lions boss Bashir Hayford
51 minutes -
Youth unemployment fuels illegal mining – Small-Scale Miners Association
51 minutes -
44% of Ghanaians say galamsey fight has seen no change under Mahama
56 minutes -
Chief Supt. Dr Sarah Aba-Afari appointed as Madina Divisional Commander
1 hour -
TGMA breaks silence on why King Paluta’s ‘Makoma’ missed out on 2025 edition
2 hours -
Yagbonwura rejects President Mahama’s MCE nominee for West Gonja
2 hours -
GPL 2024/25: Karela United move out of the relegation zone with win over Legon Cities
2 hours -
Gov’t is running away from joint security briefing on ‘suspicious flights’ – Ntim Fordjour
2 hours -
Budget support instruments must align with Ghana’s climate goals – IMANI
3 hours -
Democratic control and oversight of intelligence in african states: Responsibilities of organs of the state, CSOs
3 hours