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."
سَمِعْتُ ابْنَ عُمَرَ ؓ نَهَى النَّبِيُّ ﷺ عَنْ بَيْعِ الثَّمَرَةِ حَتَّى يَبْدُوَ صَلاَحُهَا وَكَانَ إِذَا سُئِلَ عَنْ صَلاَحِهَا قَالَ حَتَّى تَذْهَبَ عَاهَتُهُ