(13) باب النَّهْىِ عَنْ بَيْعِ الثِّمَارِ، قَبْلَ بُدُوِّ صَلاَحِهَا بِغَيْرِ شَرْطِ الْقَطْعِ
Ibn 'Umar (Allah be pleased with them) reported that Allah's Messenger (ﷺ) forbade the sale of fruits until they were clearly in good condition, he forbade it both to the seller and to the buyer.
Reference: Sahih Muslim 1534 a
In-book reference: Book 21, Hadith 61
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3665