Ronaldo played on until halftime, when he was replaced by Marco Asensio.
"I enjoyed this Clasico, even if it wasn't played in the best conditions, they're games to enjoy".
Hernandez Hernandez sent off Barca right-back Sergi Roberto just before half-time, ruled out a Barca goal for a debatable offside, and missed Madrid left-back Marcelo drawing an apparently clear penalty amid a litany of mistakes which angered players and fans on both sides. No team has finished a La Liga season unbeaten since 1931-32, when Real Madrid did so over 18 games.
Midfielder Andres Iniesta, making his 38th and final Clasico appearance, added: "We're still unbeaten after playing a large part of the game with a man less".
The Portuguese star had pulled Madrid level with a goal from close range in the 14th minute, but in the process he was clattered into from behind by Barcelona defender Gerard Pique.
BARCELONA, Spain (AP) - Rivals Barcelona and Real Madrid showed Sunday that they don't need titles at stake to produce a thrilling game of football.More news: Trump blasts Michelle Wolf's correspondents' dinner remarks about Sarah Huckabee Sanders
More news: Amazon Is Turning Vancouver's Old Canada Post Building Into Their New HQ
More news: NASA cancels the only rover mission to Moon
Barca had Sergi Roberto sent off in first-half stoppage-time following a clash with Marcelo, but regained the lead through Lionel Messi seven minutes after the interval.
But Barca responded after the restart as Lionel Messi reclaimed the lead for the hosts, though Gareth Bale managed to steer home a late equaliser for Real. They played well and so did we. You have to win the Champions League to get to the Club World Cup, and we are all in that.
Ronaldo appeared to shake off the injury.
That goal took Messi's clasico record to 26 goals.
Barcelona's players held an impromptu celebration on the pitch for the result and its domestic double, with the coaching staff giving them the guard of honor that Madrid's players declined to do before kickoff.
Relegated Las Palmas gave Getafe's slim European hopes a huge hit with a shock 3-0 win.