Ronaldo will now miss Wednesday's second leg in Madrid and may face further sanction for his reaction to the sending off.

Spanish football rules say that pushing the referee can lead to a ban of between four and 12 matches.

Madrid went ahead in the 50th from an own-goal by Barcelona defender Gerard Pique.

Lionel Messi equalised for Barcelona in the 77th when he converted a penalty after Luis Suarez was fouled by goalkeeper Keylor Navas.

Cristiano Ronaldo shows his jersey to celebrate his goal before getting bookedCredit:
AFP

Marco Asensio got 10-man Madrid's third goal in the 90th.

Mateo Kovacic could have given Real the lead in the first minute after Marc-Andre ter Stegen's poor clearance gifted a chance to the visitors, but the midfielder's attempted lob fell into the backtracking goalkeeper's arms.

At the other end Luis Suarez tested Keylor Navas and Gerard Deulofeu failed to pick out a team-mate with his cut-back after reaching the byline.

Isco cut in from the left after 18 minutes but dragged his shot wide, and seven minutes later Messi went close with a free-kick which whistled over the crossbar.

Pique was booked for using his hand to try and convert a Barca corner, before Ter Stegen atoned for his earlier error with a smart save to deny Gareth Bale after he was picked out by Isco.

Lionel Messi scores their first goal from the penalty spot Credit:
Reuters

Real went ahead after 49 minutes - Isco again involved as he slipped Marcelo in down the left channel and his low cross was turned into his own net by Pique at the near post.

Deulofeu fired wide after an Aleix Vidal cross fell kindly for him at the back post and Dani Carvajal saw an effort cleared off the line at the other end as the game opened up.

Raphael Varane came close to scoring a carbon copy of Pique's own goal when he stabbed Suarez's low cross inches over his own bar.

Substitute Ronaldo found Marcelo in the 70th minute and the Brazilian was only denied by Ter Stegen's fine stop.

Sergio Busquets missed a glorious chance to level the scores when he blazed over from 12 yards with the goal at his mercy after being picked out by Denis Suarez.

However, after 77 minutes Barca did equalise. Luis Suarez was felled by Navas in the box, and Messi converted from the spot.

Ronaldo put Real ahead again just three minutes later, cutting inside Jordi Alba and firing a 20-yard effort into the top corner following an incisive break, with Isco again the provider.