Rafi bin Khadij reported,

The Messenger of Allah ﷺ forbade the leasing of farmland.Hanzala said, "I asked Rafi bin Khadij about leasing it for gold and silver."He replied, "As for gold and silver, there is no harm in that."

Azami 5557

Sahih

عن رافع بن خديج

أن رسول الله ﷺ نهي عن كراء المزارع. قال حنظلة: فسألت رافع بن خديج بالذهب والورق؟ فقال: أما بالذهب والورق فلا بأس به.

الأعظمي 5557صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Muzaraa and musaqa
Section
Permissibility of Kira Ard for a portion of what the land produces, and for gold and silver and everything that may be a price for sales, provided that the invalid conditions are absent
Numbering
Jami al-Kamil 5557 (2nd edition)
Azami 5557