Barcelona needed a sublime 90th-minute free-kick from Lionel Messi to salvage a 1-1 draw with Villarreal at the Estadio de la Ceramica in La Liga on Sunday.
Nicola Sansone gave the hosts the lead early in the second half on a difficult evening for the wasteful Barca before Messi came to the rescue. Jaume Costa was sent off in injury time for a second bookable offence.
The visitors opened the game with some typically crisp passing moves, but Villarreal provided the biggest threat early on as Alexandre Pato twice found Jonathan dos Santos in dangerous positions.