IBNHIBBAN 6382:
from Abū Hurayrah —
[Machine] I heard Abu Hurairah say that the Messenger of Allah ﷺ, when presented with food from someone other than its owners, would ask about it. If he was told it was a gift, he would eat it, and if he was told it was charity, he would say, "Eat." And he would not eat it.
ابن حبّان ٦٣٨٢:
عن ابو هريره —
سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا أُتِيَ بِطَعَامٍ مِنْ غَيْرِ أَهْلِهِ سَأَلَ عَنْهُ فَإِنْ قِيلَ هَدِيَّةٌ أَكَلَ وَإِنْ قِيلَ صَدَقَةٌ قَالَ «كُلُوا» وَلَمْ يَأْكُلْ