Sunan Abi Dawud, Book 28, Hadith 97 (Abu Dawud 3833)

Narrated Anas ibn Malik:

When the Prophet (ﷺ) was brought some old dates, he began to examine them and remove the worms from them.