The Messenger of Allah ﷺ forbade muhaqalah, muzabanah, mukhabarah, and reserving an unspecified portion of a crop unless the amount is clearly defined.
حدثنا زياد بن أيوب البغدادي أخبرنا عباد بن العوام قال أخبرني سفيان بن حسين عن يونس بن عبيد عن عطاء
أن رسول الله ﷺ نهى عن المحاقلة والمزابنة والمخابرة والثنيا إلا أن تعلم
[Sahih]. Nasai also narrated it, 7/296, no. 4637, Book of Business Transactions, Chapter on the Prohibition of Selling with an Unspecified Exception Until It Is Known, from Ziyad bin Ayub, and Bukhari, no. 2381, and Muslim, no. 1536/81, from the hadith of Ataa, through him.