Sadio Mane fired Senegal to the World Cup as Liverpool team-mate Mohamed Salah suffered penalty shoot-out agony with Egypt after being targeted with lasers by fans.
Senegal recovered from a 1-0 first-leg deficit to land victory by the same margin at the Abdoulaye Wade Stadium on Tuesday.
That meant the play-off, tied at 1-1 after 120 minutes of the second leg, went down to a battle of spot-kicks to decide who would go to Qatar 2022, and Salah missed Egypt's first penalty when he fired over the bar.
Lasers flashed across the pitch and were directed at Egypt's star man, who could not find the focus to convert from 12 yards.
The first four penalties were missed, with Salah's the second of those, before both sides netted their third kicks.
Egypt's Mostafa Mohamed failed with the visitors' fourth penalty, seeing his shot blocked, and that allowed Mane to step up and crack a fierce spot-kick past Mohamed El Shenawy, booking a place in Friday's draw.
Senegal 1-0 Egypt (Senegal win on pens): Senegal beat Egypt on penalties in the AFCON final & they replicate that feat tonight to reach the 2022 World Cup.— The Analyst (@OptaAnalyst) March 29, 2022
Based on tonight's game, you have to say that's a deserved victory. pic.twitter.com/t0hSyB6ttb