Barcelona defeated Huesca 4-1 on Monday. at Barcelona's home ground Camp Nou.
Lionel Messi scored twice ensuring the marginal victory for Barcelona.
Antonio Griezmann and Oscar Mingueza scored 1 each for the Catalan club.
Rafa Mir scored a consolation goal for Huesca via Penalty. Huesca got a penalty in the 4th minute of the injury time in the first half.
Huesca got the penalty when Barcelona's keeper Ter Stegen's tackle with Rafa was given foul by the referee.
Barcelona is in second of the league table with 59 points from 27 games. Real Madrid has played the same number of games but has only 57 points and is staying at the third. Atletico Madrid at the top of the table is four points ahead of Barca.