Barcelona remain top of La Liga after coming from behind to defeat Leganés 2-1, despite a disjointed performance from La Blaugrana at Estadio Municipal de Butarque.
Youssef En-Nesyri broke the deadlock on 11 minutes when he whipped a devilish effort beyond a statuesque Marc-André ter Stegen, the German helplessly watching on as the forward cut inside onto his left foot and arced a mesmerising shot into the top corner.
Los Popineros nearly doubled their advantage soon after, but Óscar Rodríguez saw his fierce, angled drive clip the base of the upright as he looked to beat the ter Stegen at his near post.
Luis Suarez finally beat the veteran shot-stopper in the early stages of the second half, Lionel Messi clipping a free kick towards the unmarked Uruguayan, who duly nodded past Cuéllar.
Rather than crumbling, Leganés reacted defiantly and went in search of a second, Javier Aguirre’s recruits pressurising the visitors. Despite their valiant response, they came undone as Arturo Vidal struck a fortuitous winner with time running out.
Having been introduced midway through the second half, the midfielder proved to be Barcelona’s hero, turning home from point-blank range after a corner rebounded off the standing leg of Rubén Pérez.