Jami` at-Tirmidhi, Book 27, Hadith 61 (Tirmidhi 2023)

Abu Sa'eed narrated that the Messenger of Allah said :

"Whoever is not grateful to the people, he is not grateful to Allah."