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