Sunnah.com reference : Book 7, Hadith 159English translation : Book 7, Hadith 913Arabic reference : Book 7, Hadith 907
Narrated Hanzala bin Qais (RA):
I asked Rafi' bin Khadij (RA) about renting land for gold and silver and he replied, "There is no harm in that, as the people used to rent land in the time of Allah's Messenger (ﷺ) for what grew by the river-beds, and the edges of the brooks/streams, or for a portion of the crop. However, sometimes this portion of the crop would be destroyed while the other is saved, or vice-versa. Thus, there would be no wages to pay the people (the owners of the land) except for the portion which produced a crop." For this reason, he warned against this (practice). However, if it is (rented) for something known and guaranteed, then there is no harm in it.

[Muslim reported it]. This narration contains a clarification of what was mentioned in general terms in the previous narration of al-Bukhari and Muslim, regarding the general prohibition of renting out land.
وَعَنْ حَنْظَلَةَ بْنِ قَيْسٍ قَالَ: { سَأَلْتُ رَافِعَ بْنَ خَدِيجٍ ‏- رضى الله عنه ‏- عَنْ كِرَاءِ اَلْأَرْضِ بِالذَّهَبِ وَالْفِضَّةِ? فَقَالَ: لَا بَأْسَ بِهِ, إِنَّمَا كَانَ اَلنَّاسُ يُؤَاجِرُونَ عَلَى عَهْدِ رَسُولِ اَللَّهِ ‏- صلى الله عليه وسلم ‏-عَلَى الْمَاذِيَانَاتِ, وَأَقْبَالِ اَلْجَدَاوِلِ, وَأَشْيَاءَ مِنْ اَلزَّرْعِ, فَيَهْلِكُ هَذَا وَيَسْلَمُ هَذَا, وَيَسْلَمُ هَذَا وَيَهْلِكُ هَذَا, وَلَمْ يَكُنْ لِلنَّاسِ كِرَاءٌ إِلَّا هَذَا, فَلِذَلِكَ زَجَرَ عَنْهُ, فَأَمَّا شَيْءٌ مَعْلُومٌ مَضْمُونٌ فَلَا بَأْسَ بِهِ }  رَوَاهُ مُسْلِمٌ  1‏ .‏ وَفِيهِ بَيَانٌ لِمَا أُجْمِلَ فِي اَلْمُتَّفَقَ عَلَيْهِ مِنْ إِطْلَاقِ اَلنَّهْيِ عَنْ كِرَاءِ اَلْأَرْضِ.‏‏1 ‏- صحيح.‏ رواه مسلم ( 1547 )‏ ( 116 )‏ ( ج 3 ص 1183 )‏.‏ والماذيانات: مسايل المياه، وقيل: ما ينبت حول السواقي.‏ وأقبال الجداول: أوائل ورؤوس الأنهار الصغيرة.‏