Allegri was sent off towards the end of the game for his fierce protests over refereeing decisions.
Premier League champions Manchester City were drawn on Thursday with Juventus, Wydad AC and Al Ain in Group G for next year's FIFA Club World Cup in the United States.
All the action from football matches played in Europe on Wednesday
Jude Bellingham converted a penalty and Kylian Mbappe added another goal before halftime to spur Real Madrid to a 2-0 victory over Getafe.
A round-up of Tuesday's action in the UEFA Champions League.
Kylian Mbappe scored twice from the penalty spot as Real Madrid fought back from a goal down to beat Olympique de Marseille 2-1 in their opening match of the Champions League group stage, at the Santiago Bernabeu, Madrid, on Tuesday.
Juventus have appointed Thiago Motta as their new head coach to replace Massimiliano Allegri, the Serie A club said on Wednesday.
Barcelona dropped their first points in LaLiga this season as Rayo Vallecano fought back to secure a 1-1 draw at home to the champions.
Vinicius Jr came off the bench to score once and set up another goal to steer champions Real Madrid to a 4-1 fightback victory over Espanyol.
IMAGES from the UEFA Champions League matches played on Wednesday
Manchester City have one just victory from their last 10 games across all competitions.
Real are on 24 points, two ahead of Barcelona and the top two will go head-to-head in next Sunday's El Clasico. Getafe are 12th in the standings on 11 points.
Manchester City secured top spot in Group G of the Club World Cup with a 5-2 thrashing of Juventus on Thursday, exposing the Serie A side's defensive frailties in emphatic fashion.
A summary of Wednesday's action in the UEFA Champions League.
Manchester City's Erling Haaland came back to haunt Borussia Dortmund with a clinical finish against his former team, while Phil Foden bagged a brilliant brace as the hosts cruised to a 4-1 win in the Champions League on Wednesday to climb to fourth.
Ilkay Gundogan scored two goals as Manchester City comfortably dispatched Emirati club Al-Ain 6-0 on Sunday to ease into the knockout stage of the Club World Cup from Group G along with Juventus.
Chelsea came from behind to beat Crystal Palace 3-1 thanks to added time goals from Conor Gallagher and Enzo Fernandez.
Mouth-watering matches lined up as PSG to face Bayern and Barcelona in Champions League opening stage.
'I was there among you 60 years ago in those stands. I asked you for help, now we need that final step.'
Juventus will not play in Europe next season after being banned over breaches of UEFA's Club Licensing and Financial Fair Play rules.
For Napoli, the match highlighted their struggling form, marking three consecutive defeats across all competitions for the first time since October 2016. They are fifth with 24 points.
Juventus have been deducted 15 points for the current season by an Italian soccer court investigating its transfer dealings.
Villarreal fought back to shock Barcelona 3-2 on Sunday, handing the LaLiga champions their first league defeat since late December.
Real Madrid's Rodrygo struck twice and Jude Bellingham was also on target as the visitors enjoyed a 3-0 win at lowly Cadiz.
A first-half strike from Pedri gave Barcelona a 1-0 win over Villareal to extend their lead over Real Madrid at the top of LaLiga to 11 points
IMAGES from soccer matches played across Europe on Sunday.
Cristiano Ronaldo scored, but Al Nassr lost what could be his last-ever game for the club by 3-2 to Al Fateh on Monday in the Saudi Pro League. Following the match, the football icon hinted at an exit from the Saudi club, which he joined from Manchester United in 2023.
Bournemouth defender Dean Huijsen will join Real Madrid from June 1 after signing a deal with the Spanish side until 2030.
Lewandowski strike gives Barcelona 1-0 win over Alaves
Champions Real Madrid earned a 2-0 win in a feisty LaLiga encounter at Athletic Bilbao on Sunday to ensure they stayed in the hunt for the LaLiga title with leaders Barcelona.
A round-up of Saturday's action in LaLiga, Ligue 1, Serie A and Bundesliga.
Images from the Europa League semi-final first leg matches on Thursday.
Ronaldo has one year remaining on his contract at Juventus but there has been a flurry of media speculation that he could be leaving
Lukaku was subjected to abuse during the first leg at Juventus "before, during, and after the penalty" he scored to earn Inter a 1-1 draw, the player's representatives said.
The 14-year-old forward, currently developing at Al-Nassr's youth academy in Saudi Arabia, will join Portugal for a tournament in Croatia this month, facing Japan, Greece and England in his first taste of international football.
Leaders Barcelona played out a second straight 0-0 draw in LaLiga after mid-table Getafe battled for a home point in a hard-fought game on Sunday.
The Champions League play-offs are set to deliver high-octane drama as Manchester City prepare to battle European heavyweights Real Madrid, while Celtic brace for a daunting clash against Bayern Munich, with last-16 spots on the line.
A summary of Wednesday's action in the UEFA Champions League Knock-out phase play-offs.
In a big blow to Real Madrid's title hopes, Real Betis held them to a goalless draw in their La Liga encounter on Sunday.