Barcelona's teenage forward Ansu Fati and all-time top scorer Lionel Messi were on target as they beat bottom club Leganes 2-0 at an empty Camp Nou to maintain their perfect start since the season resumed after its three-month hiatus.

La Liga leaders Barca were far from their best and could have gone behind on two occasions before 17-year-old Fati put them ahead in the 43rd minute, firing through the legs of a defender and into the bottom corner for his fifth league goal of the season.

Messi doubled Quique Setien's side's advantage from the penalty spot in the 69th minute, almost immediately after Antoine Griezmann had a goal ruled out for offside following a VAR review.

Barca lead the standings on 64 points after 29 games, five ahead of nearest challengers Real Madrid who are in action at home to Valencia on Thursday. Leganes meanwhile are bottom with 23 points. 

Relegation-threatened Espanyol secured a heroic 0-0 draw at Champions League-chasing Getafe after playing most of the La Liga match with 10 men.

Espanyol were almost immediately on the backfoot when defender Bernardo Espinosa was dismissed in the 16th minute for appearing to elbow an opponent while waiting for a cross.

Espanyol could even have taken the lead later in the first half when Jonathan Calleri combined with Chinese forward Wu Lei but could only fire straight at goalkeeper David Soria.

The numerical difference began to show after the break and Espanyol had to cling on for most of the second period, with keeper Diego Lopez making two big interventions including pulling off a double save in stoppage time to thwart Getafe.