It is narrated from Sayyiduna al-Ash'ath bin Qays (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever does not thank people does not thank Allah."
Imam Ahmad (may Allah have mercy on him) also narrated it from Bahz (may Allah have mercy on him), from Muhammad bin Talhah bin Musarrif (may Allah have mercy on him).
And (he also narrated it) from Muhammad bin Fudayl (may Allah have mercy on him), from Ibn Shubrumah (may Allah have mercy on him), from Abu Ma'shar (may Allah have mercy on him), from Sayyiduna al-Ash'ath (may Allah be pleased with him).
Some hadith scholars have criticised Abdullah bin Sharik (may Allah have mercy on him) and Salm bin Abd al-Rahman (may Allah have mercy on him), while some have declared them reliable; and Allah knows best.
Imam Muslim (may Allah have mercy on him) has narrated from Salm (may Allah have mercy on him) in his Sahih.