Fredy curled a superb free-kick against the woodwork as Angola and Egypt shared a stalemate.
Liverpool forward Mohamed Salah and Etihad counterpart Omar Marmoush remained unused substitutes as the group leaders Egypt played out a draw with Angola at the Afcon 2025.
The seven-time champions, having clinched top spot, deployed an entirely changed starting XI and lacked a cutting edge in the Moroccan city.
Angola, who required a victory to stand a chance of progressing, will now face a nervous wait to see if their solitary draw is enough to advance for the last 16 as one of the four best-placed third-place teams.
Benin, Sudan and Mozambique are assured of at least third place in their respective groups, all having three points.
Match Key Moments
Winger Fredy struck the woodwork for Angola shortly after the second half, while Egypt's substitute – one of three halftime changes by the Pharaohs – tested goalkeeper Hugo Marques' palms with a shot from inside the box.
Salah and Marmoush had scored earlier in the tournament in comeback wins over Zimbabwe and South Africa, respectively.
Egypt will remain in Agadir to meet a third-placed team next Monday, with their opponents to be determined after the group stage finishes on Wednesday.
In the other Group B closer, South Africa's 3-2 win over Zimbabwe sent Bafana Bafana through automatically, leaving Angola on the outside looking in.
Egypt Miss Salah and Marmoush Absence
Mohamed Salah watched Egypt fail to score in an Afcon match for the first occasion since the 2021 final.
With top spot wrapped up, Egypt coach Hossam Hassan might have hoped for a more impressive attacking performance from his second string.
Mostafa Mohamed, who scored four goals at the previous tournament, set up an first-half chance for Hossam Abdelmaguid, but the centre-back looped his header wide of the target.
Angola, having made seven changes themselves, almost went ahead when Chico Banza linked up with Mabululu before firing a low drive wide.
The first half passed without a single effort on target, though Fredy caused goalkeeper Mostafa Shobeir into action with a thunderous long-range strike.
The Angolan captain remained the likeliest source, watching a set-piece elude the goalkeeper but clatter against the woodwork.
At the other end, Salah Mohsen was stunned after almost prodding in a cross, only for the move to be ruled offside.
Late efforts from M'Bala Nzola and Hamdi Fathy could not break the deadlock, leaving the match finished goalless.
For Angola, quarter-finalists in 2023, their disjointed showings in Morocco will lead to scrutiny about their mid-tournament managerial change.