It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) forbade the sale of fruit before it had ripened and become good.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14438