Bulugh al-Maram 852
وَعَنِ ابْنِ عُمَرَ -رَضِيَ اللَّهُ عَنْهُمَا- قَالَ: نَهَى رَسُولُ اللَّهِ - صلى الله عليه وسلم - عَنْ بَيْعِ الثِّمَارِ حَتَّى يَبْدُوَ صَلَاحُهَا, نَهَى الْبَائِعَ وَالْمُبْتَاعَ. مُتَّفَقٌ عَلَيْهِ. وَفِي رِوَايَةٍ: وَكَانَ إِذَا سُئِلَ عَنْ صَلَاحِهَا? قَالَ: «حَتَّى تَذْهَبَ عَاهَتُهُ».
From Ibn ʿUmar, may Allah be pleased with them both, who said: The Messenger of Allah ﷺ forbade selling fruit until its soundness is evident; he forbade the seller and the buyer. Agreed upon. In a narration: When he was asked about its soundness, he would say: "Until its blight has gone."