Sahih al-Bukhari, Book 45, Hadith 6 (Bukhari 2334)

Narrated Anas:

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."