Sayyiduna Rafi' bin Khadij (may Allah be pleased with him) narrates: Previously, land used to be leased out in exchange for produce, and sometimes for a specified portion of grain that was set aside. Then the Prophet Muhammad (peace and blessings be upon him) forbade people from leasing out land in this manner. Sayyiduna Rafi' (may Allah be pleased with him) says: As for leasing land in exchange for gold or silver, there is no harm in that.
Hadith Referenceصحیح ابن حبان / كتاب المزارعة / 5197
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح