Earlier, Lionel Messi and Luis Suarez were on target as Barca eased past Almeria 4-0 yesterday.
Barca took over half an hour to make the breakthrough, but Messi did so in style as he curled home his 44th goal of the season into the far corner.
Suarez made the game safe when he fired into the top corner 10 minutes after the break and bagged his second of the evening in stoppage time after Marc Bartra headed home the third from Xavi's corner.
"We ought to show our personality because we are Barcelona.
More From This Section
"In the league we depend on ourselves and we need to continue in this vein."
Madrid suffered a much more uncomfortable evening in a capital derby at Rayo before Ronaldo and James Rodriguez struck midway through the second-half.
Rayo dominated the first period in terms of possession, but it was still Madrid who had the better chances as Rodriguez shot straight at Diego Cobeno when unmarked inside the area before Ronaldo headed over from the Colombian's free-kick.
Madrid started much stronger after the break and were inches away from an opener when Gareth Bale's header from Rodriguez's cross looped just wide.
There was then a huge moment of controversy when Ronaldo was booked despite appearing to be clearly brought down by Antonio Amaya inside the area meaning he will miss Saturday's visit of Eibar to the Santiago Bernabeu.