Sahih Muslim, Book 12, Hadith 217 (Muslim 2455)

Anas b. Malik reported that the Messenger of Allah (ﷺ) found a date and said:

Were it not (that I fear) it may be part of sadaqa, I would have eaten it.