Barcelona snatched a late 2-1 win at Getafe, with Paulinho’s strike sending them three points clear at the top of La Liga overnight, but lost Ousmane Dembélé to a hamstring injury on his first league start.

Paulinho’s signing was widely criticised by supporters but he drove into the area and fired home to preserve Barcelona’s 100% record in the league. Gaku Shibasaki had scored a magnificent volley to put Getafe ahead in the 40th minute but another substitute, Denis Suárez, equalised for Barcelona after 62 minutes.

Dembélé was taken off in the 29th minute for Gerard Deulofeu, with the match still goalless. A club statement said: “Ousmane Dembélé has a hamstring injury in his left leg, more tests are needed to find out the extent of the injury.”

Dembélé, Barcelona’s record signing, had started against Juventus in the club’s 3-0 Champions League win on Tuesday. Reports in Spanish media suggested the 20-year-old would miss three weeks, which includes league fixtures against Eibar, Girona and Las Palmas, as well as a Champions League clash in Lisbon against Sporting.

Dembélé became Barcelona’s record signing in August when the Catalans paid Borussia Dortmund a fee which could reach €147m.

Later on Saturday, Atlético Madrid marked their first game at the new Wanda Metropolitano stadium with a sluggish 1-0 win over pointless Málaga. The hosts needed an Antoine Griezmann goal midway through the second half to ensure their new era got off to a satisfactory start.

Atlético had limped into the game with just one win from their opening three La Liga matches although that was a 5-1 away win at Las Palmas. And it looked like Málaga were set to spoil the party until Griezmann turned in Ángel Correa’s cross for the only goal after 61 minutes.