Narrated Hanzla bin Qais
Rafi` bin Khadij said, "My two uncles told me that they (i.e. the companions of the Prophet) used to rent the land in the lifetime of the Prophet (ﷺ) for the yield on the banks of water streams (rivers) or for a portion of the yield stipulated by the owner of the land. The Prophet (ﷺ) forbade it." I said to Rafi`, "What about renting the land for Dinars and Dirhams?" He replied, "There is no harm in renting for Dinars- Dirhams. Al-Laith said, "If those who have discernment for distinguishing what is legal from what is illegal looked into what has been forbidden concerning this matter they would not permit it, for it is surrounded with dangers."
Narrated Abu Huraira
Once the Prophet (ﷺ) was narrating (a story), while a bedouin was sitting with him. "One of the inhabitants of Paradise will ask Allah to allow him to cultivate the land. Allah will ask him, 'Are you not living in the pleasures you like?' He will say, 'Yes, but I like to cultivate the land.' " The Prophet (ﷺ) added, "When the man (will be permitted he) will sow the seeds and the plants will grow up and get ripe, ready for reaping and so on till it will be as huge as mountains within a wink. Allah will then say to him, 'O son of Adam! Take here you are, gather (the yield); nothing satisfies you.' " On that, the bedouin said, "The man must be either from Quraish (i.e. an emigrant) or an Ansari, for they are farmers, whereas we are not farmers." The Prophet (ﷺ) smiled (at this).