Sevilla through after Maribor draw
Sevilla stuttered into the last 16 of the Champions League after being held to a 1-1 draw by Group E's bottom side Maribor.
Marcos Tavares stunned the Spaniards with the opening goal after 10 minutes, heading home Martin Milec's cross from close range.
Maribor, the Slovenian champions, were already consigned to bottom place after scoring two goals in five group matches before this, their third draw in the competition.
Vincent Aboubakar struck two first-half goals to spearhead Porto's emphatic 5-2 win over Monaco at the Dragao Stadium on Wednesday and seal their place in the knockout stages.
Besiktas' Dusko Tosic in action as RB Leipzig's Jean-Kevin Augustin looks onReuters
RB Leipzig's hopes of reaching the knockout stages in their debut European season were ended after they suffered a 2-1 home defeat by Besiktas amid late drama.
The German side, who had to achieve a better result than Porto to finish second behind Group G winners Besiktas, were beaten by a half-volleyed 90th minute strike from Brazil Under-23 international Talisca.
The goal came three minutes after the Bundesliga side, already down to 10 men, thought they had escaped defeat against the odds with a fine Naby Keita goal.
The Guinean international brought them back into a game that had looked lost when Stefan Ilsanker picked up his second yellow card in the 82nd minute for a cynical foul on Cenk Tosun.
Yet Leipzig's hopes of progressing had effectively been ruined after only 10 minutes when Alvaro Negredo put the Turkish side ahead from the penalty spot after a foul by captain Willi Orban on Jeremain Lens.
Feyenoord ended Napoli's slim hopes of reaching the last 16 as Jeremiah St Juste's late goal snatched a 2-1 win for the Dutch side.
St Juste scored from a corner in the last minute for Feyenoord, who had been reduced to 10 men in the closing stages.
Napoli, who drop into the Europa League, had made a blistering start in their bid to stay in contention with Piotr Zielinski opening the scoring in the second minute. The Italian club’s hopes of snatching second place in Group F, however, were hit as Feyenoord fought back to equalise through Nicolai Jorgensen before claiming the dramatic winner and their first points in this year's group stage.