Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: When food from someone’s house was presented to the Messenger of Allah (peace and blessings be upon him), he would ask about it. If it was said that it was a gift, he would eat from it, and if it was said that it was charity, then he (peace and blessings be upon him) would say: “Eat,” and he would not eat from it.
Hadith Referenceمسند اسحاق بن راهويه / كتاب الزكوٰة / 278
Hadith Takhrij«بخاري ، كتاب اللقطة ، باب اذا وجد ثمرة فى الطريق : رقم : 2432 . مسلم ، كتاب الزكاة ، باب قبول النبى الهدية ورده الصدقه : 1077 . مسند احمد : 406/2 .»