The Prophet (ﷺ) passed a date fallen on the way and said, "Were I not afraid that it may be from a Sadaqa (charitable gifts), I would have eaten it."
Sahih al-Bukhari Book 45, Hadith 6