Cape Verde beat Mozambique to qualify for Africa Cup of Nations knockout stages.
Cape Verde became the first team to qualify for the knockout stages of the Africa Cup of Nations with a 3-0 victory over Mozambique at the Felix Houphouet Boigny Stadium in Abidjan.
Bebe's extraordinary free-kick and a brace from Ryan Mendes in Abidjan guaranteed that the Blue Sharks will top Group B.
Mozambique now lie bottom of the section with one point ahead of their final group game against Ghana, while Cape Verde meet Egypt on Monday.
The Rayo Vallecano forward, once of Manchester United, smashed in a strike which keeper Ernan Siluane should have done better with.
Captain Mendes took advantage of a defensive mistake to double their lead.
Kevin Pina then hammered a brilliant strike into the top corner from outside the box to seal the win in Abidjan.
Mozambique's best moments came through Geny Catamo. He won a penalty in the first half, which was overturned by the video assistant referee (VAR), and hit the crossbar with a free-kick.
The Blue Sharks face the North Africans in their final group match on Monday (20:00 GMT) knowing that they will meet a third-placed finisher from Group A, C or D in the last 16 seven days later.
Cape Verde surprise winners of tough group
Nobody would have expected the Blue Sharks to have won a group containing Egypt and Ghana with a game to go but that is precisely what happened.
Bubista's side, ranked 73rd in the world, are in their fourth Africa Cup of Nations - and have progressed from the group stages in three of them.
Cape Verde, who beat Ghana, and Mozambique, who drew with Egypt, both came into this game high on confidence after good opening results.
But the Mambas, who sit 111th in the Fifa rankings, were well beaten this time out.
Bebe, who made his Cape Verde debut in 2022 after switching international allegiance from Portugal, hit the woodwork with a free-kick before scoring from way out thanks to some shoddy goalkeeping.
The islanders rarely looked back after that, and Witi had Mozambique's only shot on target.
Egypt and Ghana, who sit on two and one point respectively, could both go through yet with the four best third-placed teams reaching the last 16.
Mozambique, who have never won an Africa Cup of Nations game, could also reach the knockout stages if they beat Ghana.