The prohibition of selling produce before its goodness appears Sahih Muslim 1534 h

Show Arabic text
Translation
In the hadith transmitted on the authority of Shu'ba it was stated that Ibn Umar (Allah be pleased with them) was asked what good condition implied. He said

When (the danger of) blight is no more.