Sunan Abi Dawud, Book 43, Hadith 42 (Abu Dawud 4816)

Narrated Jabir ibn Abdullah:

The Prophet (ﷺ) said: If someone is donated something, and he mentions it, he thanks for it, and if he conceals it, he is ungrateful for it.