The Argentine struck a free-kick in the 86th minute to win the game
Lionel Messi scored at Camp Nou with four minutes to go, converting a free-kick to earn Barcelona a 2-1 win from a difficult game against Alaves.
It was his 212th league goal at Camp Nou in his 200th league game at the stadium - the garden of Messi.
Luis Suarez equalised after Alaves went ahead through John Guidetti, before Messi struck late on to win the game.