It was narrated that 'Abduilah bin 'Umar said:
"The Messenger of Allah (ﷺ) forbade the Muzabanah. The Muzdbanah means when a man sells the dates of his grove when they are still on the tree, for a measure of dty dates;[2] or, if it is grapes, he sells them when they are still on the vine, for a measure of raisins; or if it is a crop, he sells it for food, estimating the amount (of the crop in the field). He forbade all of these things."
English reference: Vol. 3, Book 12, Hadith 2265
Arabic reference: Book 12, Hadith 2351