It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade the sale of fruit before it had ripened and become good.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14858
Hadith Gradingحکم دارالسلام:حديث صحيح، أبو الزبير لم يصرح بالسماع، لكنه قد توبع، وانظر: 14350