Christiano Ronaldo came off the bench to seal a 3-nil win for Real Madrid away to Espanyol in the La Liga, while Zlatan Ibrahimovic inspired a 2-nil win for Barcelona at Getafe.
Esteban Granero struck to give Real the lead just before the break, Guti made it 2-nil in the 77th minute and Ronaldo wrapped up the victory in extra time.
It was an emotional evening for the Espanyol players and fans as it was their first home league match since captain Dani Jarque collapsed and died last month and their first competitive game in their new Cornella-El Prat stadium.
Barcelona had earlier got their second win from two when Ibrahimovic made up for a glaring miss in the first half by scoring one and creating the second for Lionel Messi.
Barcelona, who have yet to concede a goal, are top with six points, ahead of Real on goal difference.