The Prophet ﷺ said, "Whoever does not thank people does not thank Allah."
عن النبي ﷺ قال: لا يشكر الله من لا يشكر الناس.
No references are available.
Abu Dawud (4811), Tirmidhi (1954), and Ahmad (7504) narrated it, and Ibn Hibban graded it sahih (3407), all of them through the route of Rabi bin Muslim Qurashi, who said, Muhammad bin Ziyad narrated to us, from Abu Hurairah, and he mentioned it. Its chain of transmission is sahih. Tirmidhi said, "This is a sahih hadith."