Benfica kept alive their chances of qualifying for the UEFA Champions League knockout phase as Rodrigo secured a 3-2 win in stoppage time.
Olympiacos went into the Group B clash three points ahead of third-placed Benfica, but the Greeks' late defeat at Paris Saint-Germain allowed the Portuguese side to move level with them.
Jorge Jesus' men trailled to Chancel Mbemba's 18th-minute opener but hit back through Nemanja Matic 11 minutes before the break, with Mbemba's own goal handing the visitors the advantage early in the second half.
Massimo Bruno struck with an excellent finish 14 minutes from time to move Anderlecht level, only for substitute Rodrigo to provide a dramatic twist with a last-gasp winner.
After a quiet start, the first chance fell to Anderlecht in the 17th minute. Aleksandar Mitrovic cut a pass back to the edge of the area for Bruno, but Artur tipped it over the bar.
The goalkeeper could do nothing to prevent his side falling behind a minute later, though.
Fabrice N'Sakala lofted a pass into the area from deep for Mbemba and after his first touch ricocheted back off Luisao, the Congolese defender slotted under Artur.
Mitrovic saw a goal disallowed for offside just before the half-hour mark and Benfica made the most of it four minutes later.
Matic nodded Enzo Perez's left-wing free-kick past Silvio Proto, but Cheikhou Kouyate nearly restored the hosts' lead with the next attack as he headed a cross narrowly over.
Benfica needed only seven minutes to take the lead in the second half. Nico Gaitan latched on to a throughball in the area and after producing a clever turn, he hit a low shot that was deflected in by Mbemba.
After taking the lead, Jesus' side became more inclined to hit Anderlecht on the counter-attack and Lima went close to scoring a third as he stroked a shot just over with the outside of his foot following Perez's cutback.
Bruno grabbed the equaliser from a narrow angle in the 76th minute, but Rodrigo had the last word, applying a cool finish after racing clear.
Benfica now await the visit of PSG in their final, decisive group game.
|Ba left out of Senegal AFCON squad|
|Redknapp frustrated by penalty call|
|Wenger sees Giroud wrongs|
|Premier League schedule a ´disgrace´, says Poyet|
|Championship Review: Bournemouth stay top, Heskey scores on Bolton debut|
|Hughes lauds Bojan performance|
|Koeman: Saints marching on|
|Pardew rues referee error|
|Arsenal 2 QPR 1: Sublime Alexis secures the spoils|
|Martinez questions Walters decision|
|Poyet laments Sunderland mistakes|
|League One Review: Swindon cruise to win over Walsall|
|Irvine aware of need for improvement|
|United still doing ´very bad things´ - Van Gaal|
|Lambert proud of players despite Swansea defeat|
|Warnock bemoans Palace defence|
|Bruce hails Hull´s spirit|
|Pochettino relieved to come away with victory|
|Dyche: We had our pocket pinched|
|Monk hails Fabianski performance|
|Pearson demands greater concentration from Leicester|
|Kompany set for City return|
|Rodgers hails character after battling win|
|League Two Review: Ainsworth frustrated by Luton, Shrewsbury go top|
|Everton 0 Stoke City 1: Lacklustre Everton slip to defeat|
|Sunderland 1 Hull City 3: Triumphant return for Bruce|
|Burnley 0 Liverpool 1: Sterling wins it at Turf Moor|
|Leicester City 1 Tottenham 2: Eriksen piles misery on Pearson´s men|
|Manchester United 3 Newcastle United 1: Rooney extends hosts´ streak|
|West Brom 1 Manchester City 3: Three and easy for in-form champions|
|Swansea City 1 Aston Villa 0: Hosts break Boxing Day duck|
|Crystal Palace 1 Southampton 3: Mane marks return with star performance|
|Allardyce upbeat despite defeat|
|Van Dijk happy at Celtic - Deila|
|Table-topping Chelsea delight Mourinho|
|Chelsea 2 West Ham 0: Mourinho´s men ease to victory|
|Suarez enjoying Messi, Neymar link-up|
|A-League Review: Garcia rescues point for Perth, Adelaide up to second|
|Poyet calls for mid-season break|
|Van Gaal rules out Januzaj move|
|Rodgers: Balotelli may have to get used to bench|
|Lallana: I was trying too hard|
|Walker juggles music, football careers in Sweden|
|Song to face ´brother from another mother´ Fabregas|
|Adriano announces Le Havre deal|
|Pardew braced for Old Trafford test|
|Lescott unfazed by City reunion|
|Tskhadadze appointed Georgia coach|
|United to finish top three - Ferdinand|
|Allardyce: Stamford Bridge stalemate saved my job|
|Southampton need three January signings, says Watson|
|Liverpool can make Champions League, says fanzine editor|
|Walsh: Hull clash crucial for Leicester|
|Toure, Aubameyang and Enyeama make shortlist for African gong|
|Docherty backs Chelsea to win two-horse race|
|Liverpool could benefit from Hyypia influence - Scales|
|Saudi Arabia name Asian Cup squad|
|Forty-year-old Cahill no problem for Postecoglou|