It is narrated from Sayyiduna Sahl bin Hunayf (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade two kinds of dates: Ju'rur and Lawn al-Hubayq (inferior kinds of dates). The narrator said: The people used to deliberately pick out the worst of their fruits and give them out in their charity, so this verse was revealed: "And do not aim at the bad of it to spend (in charity)" [Surah al-Baqarah: 267].
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5545