Barca are second in the standings on 63 points, two behind Real who have a game in hand.
Earlier Antoine Griezmann netted one and provided an assist as Atletico Madrid beat Sevilla 3-1 to move to within two points of Jorge Sampaoli's third-placed side.
The France international delivered a cross from a free-kick for Diego Godin to head in the opener in the 37th minute then sent the ball fizzing in off the bar from a set-piece in the 61st, while Koke tapped in the third in the 77th to seal a third straight league win for Atletico.
While Atletico are in the midst of a good run of results Sevilla are in free fall. They have failed to win any of their last four games in all competitions.
"Sevilla have had a magnificent season ... and so this makes our performance even more laudable," Atletico coach Diego Simeone told reporters.
Sevilla have 57 points while Atletico are in fourth place on 55. Leaders Real Madrid are on 65 points after beating Athletic Bilbao 2-1 on Saturday.
In other matches, Leganes and Malaga played out a scoreless draw while Celta Vigo won 1-0 at Deportivo La Coruna and Sporting Gijon triumphed 3-1 over Granada.
- AAP