Language:
كتاب البيوع
34  
Sales and Trade
(75)
Chapter: The selling of dried grapes for dried grapes and meals for meals
(75)
باب بَيْعِ الزَّبِيبِ بِالزَّبِيبِ وَالطَّعَامِ بِالطَّعَامِ
Sahih al-Bukhari 2172, 2173

Narrated Ibn `Umar:

The Prophet (ﷺ) forbade Muzabana; and Muzabana is the selling of fresh fruit (without measuring it) for something by measure on the basis that if that thing turns to be more than the fruit, the increase would be for the seller of the fruit, and if it turns to be less, that would be of his lot. Narrated Ibn `Umar from Zaid bin Thabit that the Prophet (ﷺ) allowed the selling of the fruits on the trees after estimation (when they are ripe).

حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَيُّوبَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم نَهَى عَنِ الْمُزَابَنَةِ قَالَ وَالْمُزَابَنَةُ أَنْ يَبِيعَ الثَّمَرَ بِكَيْلٍ، إِنْ زَادَ فَلِي وَإِنْ نَقَصَ فَعَلَىَّ‏.‏ قَالَ وَحَدَّثَنِي زَيْدُ بْنُ ثَابِتٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم رَخَّصَ فِي الْعَرَايَا بِخَرْصِهَا‏.‏
Reference : Sahih al-Bukhari 2172, 2173
In-book reference : Book 34, Hadith 123
USC-MSA web (English) reference : Vol. 3, Book 34, Hadith 381
  (deprecated numbering scheme)