Sunan Ibn Majah, Book 5, Hadith 121 (Ibn Majah 923)

It was narrated that Thawban said:

“The Messenger of Allah (ﷺ) said: ‘No person should lead others in prayer, then supplicate only for himself and not for them. If he does that, he has betrayed them.’”