concerning the Verse in which Allah, the Mighty and Subline, says: And do not aim at that which is bad to spend from it." This refers to had quality dates. The Messenger of Allah forbade taking bad quality dates as Sadaqah.
Sunan an-Nasa'i Book 23, Hadith 58