Match ends, Leganés 1, Barcelona 5.
Barcelona returned to winning ways in La Liga as Lionel Messi and Luis Suarez marked their league returns with goals against newly promoted Leganes.
Messi and Suarez were rested from the starting XI as Barca suffered a shock 2-1 defeat by Alaves last week.
Both started on Saturday, with Messi tapping home before setting up Suarez, and Neymar made it 3-0.
Messi's penalty and Rafinha's fine finish stretched Barca's lead before Gabriel's superb free-kick for Leganes.
The win moved Barcelona level on points with Real Madrid, who are away to Espanyol on Sunday.
Enrique learns from his mistake
Barcelona coach Luis Enrique accepted the blame for Barcelona's surprise loss to Alaves after making seven changes before his team's opening Champions League group game against Celtic.
Despite facing a league game against Atletico Madrid next Wednesday, Enrique took no risks this time against another club promoted from Spain's second tier as Barca carried on where they had left off after hammering Celtic 7-0.
Leganes, a town of 185,000 people and 11km from Madrid, are playing in La Liga for the first time in their 88-year history. Three years ago they had no training ground and the pitch was full of potholes.
This was uncharted territory for Barca but Enrique's side were at their ruthless best as they picked off their spirited opponents in a game sprinkled with six yellow cards.
Leganes frustrated the visitors for 15 minutes before Messi broke the deadlock with a tap-in after a Suarez assist.
The Argentine returned the favour for Suarez to double the lead from close range before Neymar rolled home the third after Messi and Suarez had combined shortly before the interval.
Messi made it five goals in two games from the penalty spot after Neymar was fouled by Unai Bustinza.
There were still 26 minutes of normal time remaining when Rafinha found the top left-hand corner with a curling effort.
Yet Leganes were not finished and their fans celebrated wildly a historic first home goal in La Liga, a sublime free-kick by Gabriel.
Griezmann doubles up again
Antoine Griezmann scored twice for the second weekend running as Atletico Madrid beat Sporting Gijon 5-0.
Both the France international and team-mate Kevin Gameiro struck in the first five minutes for Diego Simeone's team, who have hit their stride after drawing their opening two games.
A second goal for Griezmann after 31 minutes, and two late goals from Fernando Torres - one a penalty - completed Atletico's third successive victory in all competitions.
- 13Serantes Simón
- 17Díaz MiguelBooked at 39mins
- 3Bustinza MartínezBooked at 54mins
- 15Rico Salguero
- 19López CabreraSubstituted forRamos Suárezat 61'minutesBooked at 87mins
- 12MedjaniBooked at 27minsSubstituted forPérez del Mármolat 45'minutes
- 22Sastre Reus
- 8Appelt Pires
- 7MachísSubstituted forSzymanowskiat 61'minutes
- 6Martín-Romo García-Adamez
- 21Pérez del Mármol
- 23Ramos Suárez
- 1ter Stegen
- 4RakiticBooked at 24minsSubstituted forTuranat 57'minutes
- 8IniestaSubstituted forD Suárezat 65'minutes
- 9SuárezSubstituted forAlcácerat 56'minutes
- 11NeymarBooked at 80mins
- 6D Suárez
- 20Roberto Carnicer
- 21André Gomes
- Ricardo de Burgos Bengoetxea
- Shots on Target
Second Half ends, Leganés 1, Barcelona 5.
Attempt missed. Gabriel (Leganés) left footed shot from the left side of the box misses to the left. Assisted by Koné.
Attempt missed. Lionel Messi (Barcelona) left footed shot from outside the box is close, but misses the top right corner from a direct free kick.
Lionel Messi (Barcelona) wins a free kick in the attacking half.
Foul by Rubén Pérez (Leganés).
Omar Ramos (Leganés) is shown the yellow card for a bad foul.
Neymar (Barcelona) wins a free kick on the left wing.
Foul by Omar Ramos (Leganés).
Rafinha (Barcelona) wins a free kick in the defensive half.
Foul by Lluis Sastre (Leganés).
Corner, Leganés. Conceded by Gerard Piqué.
Offside, Leganés. Gabriel tries a through ball, but Alexander Szymanowski is caught offside.
Foul by Paco Alcácer (Barcelona).
Diego Rico (Leganés) wins a free kick in the defensive half.
Paco Alcácer (Barcelona) wins a free kick in the defensive half.
Foul by Bustinza (Leganés).
Goal! Leganés 1, Barcelona 5. Gabriel (Leganés) from a free kick with a left footed shot to the top right corner.
Neymar (Barcelona) is shown the yellow card.
Foul by Arda Turan (Barcelona).