Fabio Carvalho scored in the 98th minute to snatch the three points for Liverpool after Roberto Firmino had ruled out Alexander Isak's opener on his debut in a dramatic 2-1 win for Liverpool.
Isak had put the visitors ahead in the first half with a well-taken finish high to Alisson's right-hand side as the visitors punished the wasteful hosts, who dominated possession.
But Liverpool earned their equaliser, and the outstanding Harvey Elliot picked out Mohamed Salah to cut it back into the path of the onrushing Firmino, who converted well low into the corner past Nick Pope.