Rafi bin Khadij reported,

My uncles told me that during the time of the Prophet ﷺ, people used to lease land in exchange for the produce that grew along the irrigation channels, or some portion that the landowner would set aside for himself. The Prophet ﷺ forbade this practice.I asked Rafi, "What about leasing it for Dinars and dirhams?"Rafi replied, "There is no harm in leasing it for Dinars and dirhams."Layth said, "What was forbidden in this matter was an arrangement that, had people of understanding regarding the lawful and the unlawful examined it, they would not have permitted it, because of the uncertainty it involved."

Bukhari 2346-2347

Sahih

حدثنا عمرو بن خالد حدثنا الليث عن ربيعة بن أبي عبد الرحمن عن حنظلة بن قيس

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

حدثني عماي أنهم كانوا يكرون الأرض على عهد النبي ﷺ بما ينبت على الأربعاء أو شيء يستثنيه صاحب الأرض فنهى النبي ﷺ عن ذلك فقلت لرافع فكيف هي بالدينار والدرهم فقال رافع ليس بها بأس بالدينار والدرهم وقال الليث وكان الذي نهي عن ذلك ما لو نظر فيه ذوو الفهم بالحلال والحرام لم يجيزوه لما فيه من المخاطرة

البخاري 2346-2347صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sharecropping
Chapter
Kira Ard for gold and silver
Numbering
Darussalam 2346-2347
Bukhari2346 2346-2347