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مسند احمد / مسند المكثرين من الصحابة / 14997
Hadith Gradingحکم دارالسلام:حديث صحيح، أبو الزبير لم يصرح بالتحديث، لكن متابع، وانظر: 14350