The Messenger of Allah ﷺ forbade muhaqalah and muzabanah.
حدثنا قتيبة حدثنا يعقوب بن عبد الرحمن الإسكندراني عن سهيل بن أبي صالح عن أبيه
نهى رسول الله ﷺ عن المحاقلة والمزابنة
No references are available.
Muslim also narrated it in the Book of Sales, the chapter on renting out land, hadith no. 1545, from Qutayba with the same wording.On this subject, there are also narrations from Ibn Umar [Bukhari, no. 2205, and Muslim, no. 1542], Ibn Abbas [Bukhari, no. 2187], Zayd bin Thabit [Abu Dawud, no. 3407], Saad [coming up, no. 1225], Jabir [Muslim, no. 1536], Rafi bin Khadij [Abu Dawud, no. 3400, and Ibn Majah, nos. 2267, 2449], and Abu Saeed [Bukhari, no. 2186, and Muslim, no. 1546].