(19) باب النَّهْىِ أَنْ يُخْرِجَ فِي الصَّدَقَةِ شَرَّ مَالِهِ
It was narrated that:
Awf bin Malik Al-Ashja'i said: "The Messenger of Allah went out, and a man had hung up one or more bunches of dates. He (the Prophet) had a stick in his hand and he started hitting that bunch of dates repeatedly, saying: 'If the owner of these dates wanted to give in charity, he should have given something better than these. The owner of this charity will eat rotten and shriveled dates on the Day of Resurrection.' "
Reference: Sunan Ibn Majah 1821
In-book reference: Book 8, Hadith 39
English translation: Vol. 3, Book 8, Hadith 1821