(58) باب مَنْ بَاعَ ثِمَارَهُ أَوْ نَخْلَهُ أَوْ أَرْضَهُ أَوْ زَرْعَهُ، وَقَدْ وَجَبَ فِيهِ الْعُشْرُ أَوِ الصَّدَقَةُ فَأَدَّى الزَّكَاةَ مِنْ غَيْرِهِ أَوْ بَاعَ ثِمَارَهُ وَلَمْ تَجِبْ فِيهِ الصَّدَقَةُ
Narrated Ibn `Umar:
The Prophet (ﷺ) had forbidden the sale of dates till they were good (ripe), and when it was asked what it meant, the Prophet (ﷺ) said, "Till there is no danger of blight."
Reference: Sahih al-Bukhari 1486
In-book reference: Book 24, Hadith 87
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 24, Hadith 563