Gareth Bales name was booed before and after coming on as a substitute for Real Madrids 3-1 win over Real Sociedad.
Willian Jose had awarded the visitors a shock lead inside two minutes, penalizing a bad backpass from Los Blancos captain Sergio Ramos.
Karim Benzema equalised from the free-kick of Luka Modric, before a deflected shot against Federico Valverde place the home side in front.
Wales forwards Bale was sent on for the final stages during the international break following the nation versus club with whistles in his ears.
Bale kept his cool to send a deep cross which led to wrap things up using a goal as moved back with leaders Barcelona.
Earlier, as Arturo Vidal struck a winner which was awarded after a VAR review Barcelona came from behind to snatch a 2-1 victory.
The rock-bottom hosts had taken the lead in coach Javier Aguirres first home match in charge thanks to some strike from Morocco forward Youssef En-Nesyri at the 12th minute.
Barca levelled at the 52nd minute when Luis Suarez glanced in the free-kick of Lionel Messi although leganes spurned two opportunities to extend his advantage.
Barca were unconvincing but won the match as a result of a fortunate goal from Vidal in the 79th minute.
If he pumped in from close range, the Chilean midfielder was in a transparent position but a VAR review suppressed him as the ball was bounced off Leganes Ruben Perez.
Barca face rivals Atletico Madrid away from house and will need to do so.
Inter Milan kept up the pressure on Serie A leaders Juventus with a win in Torino.
Goals from Lautaro Martinez along with Stefan De Vrij gave Antonio Contes side the half-time lead and Romelu Lukakus 10th attack of the year put the result beyond doubt .
Therefore water can be swept off the pitch towards heavy rain, kick-off was delayed at the Stadio Olimpico Grande Torino, and the players needed to work hard during the game since the downpour continued, on a sodden surface that deteriorated.
A late double from Gonzalo Higuain assisted remain a point clear at the top of the branch and Juventus come out of beat Atalanta 3-1 at Bergamo.
Robin Gosens gave the home side a deserved lead in the second half once Musa Barrow missed a penalty before the break.
But before Paulo Dybala secured the points Higuain struck in the final 16 minutes to flip the game.
Bayern Munich crushed Fortuna Duesseldorf 4-0 to move in some top place with a third straight win while Bundesliga leaders Borussia Monchengladbach suffered a shock defeat.
The champions, who were united by RB Leipzig on 24 issues, have rediscovered winning ways getting three successes in all competitions.
They looked sharp throughout the home fixture in which leading striker Robert Lewandowski failed finishing his record streak of netting from the prior 11 league games.
Theyre behind Moenchengladbach that were stunned 2-0 by promoted Union in their first league loss. Leipzig are second, over Bayern on goal difference, after a 4-1 victory over strugglers.
Bayern, who would have scored , fired in 3 from the minute through Corentin Tolisso Benjamin Pavard along with Serge Gnabry and found no immunity.
Hed put up Philippe Coutinho for Bayerns fourth goal in the 70th minute although Polish striker Lewandowski failed despite several chances.
Union stunned Gladbach from Anthony Ujah and completed a win with Sebastian Anderssons target in second-half stoppage time.
Second-placed Leipzig easily conquer Cologne thanks to targets and Emil Forsbergs dual in Konrad Laimer along with Timo Werner.
Freiburg remained ahead on goal difference of Schalke 04, 2-1 winners in Werder Bremen and are on 22 at Bayer Leverkusen after a 1-1 draw.

Read more here: