(16) باب النَّهْيِ عَنِ الْمُحَاقَلَةِ وَالْمُزَابَنَةِ وَعَنِ الْمُخَابَرَةِ وَبَيْعِ الثَّمَرَةِ قَبْلَ بُدُوِّ صَلاَحِهَا وَعَنْ بَيْعِ الْمُعَاوَمَةِ وَهُوَ بَيْعُ السِّنِينَ
Jabir b. Abdullah (Allah be pleased with them) reported that Allah's Messenger (ﷺ) had forbidden Muhaqala. and Muzabana, Mukhibara and the sale of fruits until their good condition becomes clear, and (he commanded) that (commodities) should not be sold but for the dinar and dirham except in case of araya.
Reference: Sahih Muslim 1536 c
In-book reference: Book 21, Hadith 107
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3707