Second-half goals from Ferran Torres and Memphis Depay helped Barcelona come from behind to claim a 2-1 victory away to Elche on Sunday.
Elche took the lead on the stroke of half-time through Fidel Chaves, who intercepted a poor pass from Pedri before racing into the box and striking home.
Xavi Hernandez brought on Torres at half-time and the move paid dividends. The Spain forward netted an equaliser on the hour mark, poking in from inside the six-yard box.
Barca were awarded a penalty on 84 minutes following a handball by Antonio Barragan. Referee Mario Melero Lopez consulted with the VAR before pointing to the spot and Depay made no mistake as he rifled the penalty into the roof of the net.
Elche sub Javier Pastore received a straight card for dissent following the awarding of the penalty.
Sunday’s victory means Barca remain in third but have opened a three-point gap over fifth-place Atletico Madrid.