Robert Lewandowski scored twice but Barcelona are on the brink of a second straight group-stage exit
Robert Lewandowski scored twice but Barcelona are on the brink of a second straight group-stage exit AFP

Barcelona slipped closer to a second straight Champions League group-stage exit despite Robert Lewandowski's double in a thrilling 3-3 draw with Inter Milan on Wednesday, while Mohamed Salah scored the fastest hat-trick in the competition's history as Liverpool hammered Rangers.

Bayern Munich, Napoli and Club Brugge -- for the first time since the inaugural group stage in 1991-92 -- all booked places in the last 16.

Xavi Hernandez's Barca needed a victory at the Camp Nou to keep their fate in their own hands and Ousmane Dembele's goal after a cleverly-worked short corner gave the hosts a half-time lead.

But Inter turned the match on its head early in the second half, as Gerard Pique left a cross into the box and Nicolo Barella stole in unmarked to equalise.

Lautaro Martinez took advantage of more weak defending to put the Italians in front just after the hour mark, drilling in a low strike which went in off both posts.

Lewandowski equalised with eight minutes remaining as his deflected effort wrong-footed goalkeeper Andre Onana, but Inter substitute Robin Gosens looked to have knocked out the five-time champions with his 89th-minute effort.

Polish star Lewandowski's towering header in injury time gave Barca four minutes to find a winner, but it was Gosens who almost won it for Inter only to be denied by Marc-Andre ter Stegen.

La Liga leaders Barca now trail second-placed Inter by three points in Group C, but with a stronger head-to-head record, Simone Inzaghi's side will qualify with Bayern if they beat pointless Viktoria Plzen at home in two weeks.

"We had an enormous opportunity and we didn't take it," said Barcelona defender Eric Garcia. "We made errors that at this level, you cannot make."

Bayern reached the knockout phase for a 15th consecutive season with a 4-2 victory at Plzen.

The German champions romped into a 4-0 half-time advantage through goals from Sadio Mane and Thomas Mueller and Leon Goretzka's brace.

Adam Vlkanova and Jan Kliment gave the home fans two goals to cheer, but the Czechs bowed out of the competition.

Liverpool arrived at Ibrox under pressure after a weekend loss to Arsenal saw Jurgen Klopp's men slip to 10th in the Premier League table.

Rangers stunned their visitors in the 17th minute as Scott Arfield slotted in, before Roberto Firmino levelled.

The Scots caved in the second half, though, as Firmino's second and Darwin Nunez's first Champions League goal for Liverpool put the game to bed for last season's losing finalists.

Salah came off the bench and wasted no time in scoring a six-minute treble, breaking Bafetimbi Gomis' record from 2011.

Harvey Elliott wrapped up a 7-1 victory late on as Liverpool moved within a point of the next round.

"From the outside everyone expected us to win but we take it a game at a time," Virgil van Dijk told BT Sport. "We know we're in a tough period."

Earlier, Group A leaders Napoli progressed as they extended their unbeaten start to the season with a 4-2 home victory over Ajax.

Hirving Lozano and Giacomo Raspadori scored inside the first 16 minutes as the hosts made a flying start against opponents they thrashed 6-1 last week.

Davy Klaassen and Steven Bergwijn both netted for Ajax in the second period, but further Napoli goals from Khvicha Kvaratskhelia and Victor Osimhen made it four wins from four for the Serie A pace-setters.

Ajax will have to beat Liverpool next time out in Amsterdam to keep their hopes of going through alive.

Unfancied Belgians Club Brugge booked a ticket to the knockouts with a gutsy goalless draw at Atletico Madrid.

"I have already done a lot of things in my career, but this was a very big moment," Brugge goalkeeper Simon Mignolet told RTL Belgium.

Brugge, who had Kamal Sowah sent off with 10 minutes to play, are four points clear at the Group B summit from Porto, who won 3-0 at Bayer Leverkusen.

Galeno gave visitors Porto an early lead, before Kerem Demirbay missed a penalty and Patrik Schick saw a potential equaliser ruled out by VAR for handball.

Porto were controversially given a penalty which was scored by Mehdi Taremi in the 53rd minute, and the Iranian wrapped up the points with another spot-kick.

Tottenham climbed to the top of a tight Group D with a tense 3-2 victory over Eintracht Frankfurt in London.

Harry Kane's penalty and two goals for Son Heung-min were enough to send Eintracht to the foot of the table.

Marseille leapfrogged Sporting Lisbon into second place on head-to-head as Alexis Sanchez scored in a 2-0 win which saw the Portuguese finish the game with nine men.

Mohamed Salah (2R) returned to form with the fastest ever Champions League hat-trick
Mohamed Salah (2R) returned to form with the fastest ever Champions League hat-trick AFP
A string of saves from Simon Mignolet helped Club Brugge reach the last 16
A string of saves from Simon Mignolet helped Club Brugge reach the last 16 AFP