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