The Messenger of Allah ﷺ forbade muhaqalah and muzabanah, and he said, "Only three types of people may cultivate land. A man who owns land and farms it himself, a man who has been given land as a grant and farms what he was given, and a man who rents land for gold or silver."
حدثنا هناد بن السري حدثنا أبو الأحوص عن طارق بن عبد الرحمن عن سعيد بن المسيب
نهى رسول الله ﷺ عن المحاقلة والمزابنة وقال إنما يزرع ثلاثة رجل له أرض فهو يزرعها ورجل منح أرضا فهو يزرع ما منح ورجل استكرى أرضا بذهب أو فضة
[Its isnad is hasan] Abu Dawud transmitted it in the Book of Business Transactions, chapter on strictness regarding that, hadith no. 3400, from the hadith of Abu Ahwas, through this route. This Tariq was deemed reliable by the majority, so his hadith does not fall below the level of hasan.