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.