Translation
(42) Distribution of Water
كتاب المساقاة
(17) Chapter: To pass through a garden or to have a share in datepalms
(17) باب الرَّجُلِ يَكُونُ لَهُ مَمَرٌّ، أَوْ شِرْبٌ فِي حَائِطٍ أَوْ فِي نَخْلٍ
Sahih al-Bukhari 2381 

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) forbade the sales called Al-Mukhabara, Al-Muhaqala and Al-Muzabana and the selling of fruits till they are free from blights. He forbade the selling of the fruits except for money, except the 'Araya.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ، حَدَّثَنَا ابْنُ عُيَيْنَةَ، عَنِ ابْنِ جُرَيْجٍ، عَنْ عَطَاءٍ، سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ نَهَى النَّبِيُّ صلى الله عليه وسلم عَنِ الْمُخَابَرَةِ، وَالْمُحَاقَلَةِ، وَعَنِ الْمُزَابَنَةِ، وَعَنْ بَيْعِ الثَّمَرِ حَتَّى يَبْدُوَ صَلاَحُهَا، وَأَنْ لاَ تُبَاعَ إِلاَّ بِالدِّينَارِ وَالدِّرْهَمِ، إِلاَّ الْعَرَايَا‏.‏
Reference : Sahih al-Bukhari 2381
In-book reference : Book 42, Hadith 29
USC-MSA web (English) reference : Vol. 3, Book 40, Hadith 567
  (deprecated numbering scheme)