Los Blancos closed the gap to bitter rivals Barcelona atop the table.