Egypt beat Ivory Coast 5-4 on penalties to reach the quarter-finals at the Africa Cup of Nations in Cameroon following a 0-0 draw.
The North Africans got the upper hand in the shoot-out when substitute keeper Gabaski saved Eric Bailly’s effort in the third round of spot-kicks.
And Pharaohs captain Mohamed Salah netted the decisive penalty to send the record seven-time champions through.
Egypt will face Morocco in the last eight in Yaounde on Sunday (16:00 GMT).
The finale was somewhat harsh on Manchester United defender Bailly, who had performed superbly at the back while sporting a rugby scrum cap on his return from a head injury.
Yet he took a short run-up for his penalty and placed his effort too close to Gabaski, who dived to his right and stuck out his left hand to push the ball onto the bar.
The Zamalek keeper had come on right at the end of the second half after Mohamed El Shenawy picked up a leg injury, and may well start against Morocco depending on the extent of the injury suffered by Egypt’s number one.
It may have ended goalless after 120 minutes but the meeting between two of the continent’s heavyweights provided plenty of openings despite the poor state of the pitch in Douala.
Two-time champions Ivory Coast had knocked out holders Algeria en route to topping their group, but Egypt had finished second in theirs after losing their opening game against Nigeria.
Cameroonians threw their support behind the Pharaohs, and the appearance of Liverpool forward Salah on the big screen in the stadium during the Egyptian national anthem was met with a loud roar.
The North Africans had the better of the first half, with Omar Marmoush rattling the Ivory Coast crossbar and Salah having two attempts tipped over by Badra Ali Sangare.
The Elephants grew into the contest and Ibrahim Sangare saw an acrobatic volley pushed away by El Shenawy.
BBC