Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) forbade "that fruit be sold before it becomes good or ripens, and that any of it be sold except for dinars and dirhams, except in 'araya."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10654