Amid new contract talks, Messi struck a hat-trick in victory over Osasuna yesterday.
"As long as people want me to, I'll stay at Barcelona. My intention is to be here till I retire, as I am happy here," said Messi.
Messi became the club's all-time record goalscorer with the treble and added: "This is something very impressive. It's great to become a part of my club's history. Today I have set this record and I am very happy."