It was his first red card after joining the Spanish and European champions last summer.
Barcelona extended their advantage in the Spanish top flight with a 1-0 win at Leganes on Saturday, completing a 12-match unbeaten run and moving seven points clear of second-placed Real Madrid.
Second-placed champions Madrid face Alaves on Sunday and have to play catch-up after Hansi Flick's side scraped their way to a narrow but vital win on the road.
LaLiga side Real Valladolid said they will discipline two of their players after they almost came to blows on their bench during Sunday's 4-0 home loss against Getafe.
The final stretch of this Spanish football season promises drama, tension, and perhaps a few surprises. One thing is certain: La Liga is set for a thrilling conclusion.
Ancelotti acknowledged that winning LaLiga had become a long shot but that it should not affect their Copa del Rey and Champions League campaigns.
With only a few matches remaining, the race for both the title and the Pichichi remains wide open. Lewandowski and Mbappe will push each other to the limit, knowing that every goal could be the difference between glory and disappointment.
But Robert Lewandowski came to the rescue at 1-1 as the 36-year-old netted twice to guide Barcelona to the win. The Polish striker also extended his tally at the top of LaLiga's scoring chart to 25 goals.
Mbappe's double took him to 33 strikes in 44 appearances across all competitions, the same number of goals as his idol managed in the 2009-10 campaign.
Leading LaLiga with 63 points, Barca face Girona on Sunday after only two days rest following their 3-0 triumph over Osasuna and over the next 17 days they have six matches in all competitions.
Trailing by two goals, the Catalan giants mounted a remarkable turnaround, with Yamal netting in the 92nd minute and Ferran Torres sealing the victory in the 98th. The win saw Barca leapfrog Madrid, who had briefly taken the lead in the standings following their victory over Villarreal on Saturday.
Following Real's 2-1 comeback win at Villarreal, thanks to Kylian Mbappe's brace, the coach was concerned about his side's physical condition following Wednesday's shootout win over Atletico Madrid in the Champions League.
Ahead of the second leg of their Champions League last-16 tie at rivals Atletico Madrid on Wednesday, following a 2-1 win in the first, Ancelotti said that he was hopeful his goalkeeper Thibaut Courtois and defender Antonio Ruediger should be OK after missing Sunday's match with minor issues.
Kylian Mbappe and Vinicius Junior were both on target for Real Madrid as they beat Rayo Vallecano 2-1 on Sunday to pull level with La Liga leaders Barcelona.
The doctor had been working with different Barcelona sides since 2017, and began working with the men's football first team a few months ago.
"This is a heavy blow, we have to bounce back. Losing at this point in the season is tough because everyone is on form and we didn't do well in this game," the Italian told reporters.
Modric, Ballon d'Or winner in 2018, scored Real's opener in the victory, controlling a looping clearance from a corner with his chest before unleashing a sublime long-range volley which arrowed into the top corner in the 41st minute.
After Atletico Madrid beat Valencia 3-0 to temporarily take pole position, the Catalans replaced them with a narrow victory on the road and sit one point ahead of the Rojiblancos.
Lewandowski scored his 20th goal of the season with a 28th-minute penalty that went in off the post.