Barcelona: Ter Stegen; Semedo, Piqué, Umtiti, Jordi Alba; Arthur (Dembélé 46’), Busquets (Malcom 85’), Arturo Vidal; Messi, Luis Suárez, Coutinho (Rakitic 80’). 4-3-3.
Rayo Vallecano: Dimitrievski; Advíncula, Gálvez, Velázquez, Jordi Amat (Pozo 64’), Alex Moreno; Bebé, Imbula, Comesaña, Alvaro García (Embarba 80’); Raúl De Tomás. 5-4-1.
Goals:
0-1. 24. De Tomás. Picked up Alvaro pass and ran on to shoot past Ter Stegen.
1-1. 38. Piqué. Got in front of Dimitrievski to head wide Messi free kick into net.
2-1. 51. Messi (penalty). After Jordi Amat tripped Semedo inside the area.
3-1. 82. Luis Suárez. Turned shot into net after passing move with Rakitic.
Yellow cards: Velázquez 68’, Busquets 79’, Imbula 89’.