Goalkeeper Gabaski was the hero, saving two penalties as Egypt edged past hosts Cameroon in a penalty shootout after a goalless draw to set up an Africa Cup of Nations final against Senegal.
Sunday's final sets up a tantalising meeting between Liverpool forwards Mohamed Salah and Sadio Mane at the same venue - the Olembe Stadium in Cameroon's capital Yaounde (kick-off 19:00 GMT).
Hosts Cameroon had shown more impetus in 90 minutes, twice hitting the post through Michael Ngadeu-Ngadjui's looping header and Samuel Gouet's thunderous long-range strike, which flicked the woodwork.
Egypt's star man Salah was kept quiet for much of the game, curling a strike from outside the area narrowly over and almost profiting from a loose back pass, but he could not convert.
But he did not have to step up in the shootout as Cameroon missed three of their efforts, with Gabaski saving from Harold Moukoudi and James Lea Siliki, while Clinton N'Jie side-footed wide.
An ill-tempered ending to normal time had seen Egypt coach Carlos Queiroz sent off for remonstrating with the referee and his assistant Wael Gomaa cautioned too.
It means they will both be missing from the touchline for the final as Gomaa was also yellow carded in the quarter-final against Morocco.
Meanwhile, Cameroon will face Burkina Faso in the third/fourth-place play-off, which has been brought forward a day to Saturday (19:00 GMT).
Egypt gain revenge over Cameroon
This was a meeting between the two most successful teams in the competition's history with record seven-time winners Egypt up against Cameroon.
The hosts had triumphed on five occasions with the last of those coming in 2017 when they defeated Thursday's opponents 2-1 in the final, but Egypt gained revenge on this occasion.
As well as pitting club team-mates Salah and Mane up against each other, the final will be the first of three meetings between Egypt and Senegal over the next two months as they also contest a two-legged play-off for a place at the World Cup in Qatar.
There was a feisty build-up to this meeting as Cameroon legend, and now the football federation's president, Samuel Eto'o referred to the game in a speech as a "war".
But Egypt boss Queiroz felt it was a "bad message" particularly after eight people had died and 38 more injured in a crush at the Olembe Stadium.
All eyes were on Salah, who curled narrowly over after eight minutes, but Cameroon were the dominant side as Ngadeu-Ngadjui's looping header hit the post and the defender miscued from six yards following the resulting corner.
Salah had a sniff in the second half when he latched onto a poor backpass to take him through on goal, but was foiled by goalkeeper Andre Onana flying out of his area.
Karl Toko Ekambi's glancing header was then straight at Gabaski, while Gouet's powerful drive was close as the game went into extra time.
Middlesbrough midfielder Lea Siliki's free-kick from out wide almost sailed in, landing on the roof of the net, but the contest went to penalties.
Gabaski, who stepped up after Egypt's first-choice keeper Mohamed El Shenawy was injured in their last-16 win over Ivory Coast, provided the heroics to ensure his side won their sixth shootout in a row to progress.
Latest Stories
-
Marrakech 2024: Five para-athletes to represent Ghana in WPA Grand Prix in Morocco
3 mins -
U.S Senate approves bill to ban TikTok
11 mins -
T-Pain involved in hit-and-run, warns culprit he’ll find them
20 mins -
Cedi hits GH¢14.00 to a dollar; depreciates 12.08%
22 mins -
Major portions of Kasoa-Winneba road to open to traffic in 8 months
25 mins -
Kwadaso onion traders reject new location, express fear over future eviction
39 mins -
Pensions: 81% of pensioners had benefit shortfalls in 2020 – Abdallah Mashud
42 mins -
All Regional Games: Torch relay ceremony hits Oti Region
45 mins -
CSO calls for immediate removal of COCOBOD CEO from office
50 mins -
How a young female geologist’s thesis is paving the way for Ghana’s Green Mineral Future 5 decades later
53 mins -
Pensions: The last time government paid Tier-2 funds was in June 2023 – Angel Carbonu
57 mins -
Submit audited statements by May or face sanctions – Akufo-Addo warns heads of SOEs
1 hour -
Samuel Inkoom’s SIFMA hold successful football tournament
1 hour -
Propak propelling growth of Ghana’s manufacturing industry for exports
1 hour -
Academic curriculum must reflect industry needs – Stanbic Bank CEO
1 hour