Allah's Messenger (ﷺ) forbade the sale of Muzabana, i.e. selling of fruits for fruits…

Sahih al-Bukhari Book 42 Hadith 31

Sahih al-Bukhari #2383

Distribution of Water 42:31

Narrated Rafi` 'bin Khadij and Sahl bin Abi Hathma:

Allah's Messenger (ﷺ) forbade the sale of Muzabana, i.e. selling of fruits for fruits, except in the case of 'Araya; he allowed the owners of 'Araya such kind of sale.

Chapter: To pass through a garden or to have a share in datepalms

Grade: Sahih