Sunan an-Nasa'i, Volume 4, Book 35, Hadith 3931 (DarusSalam)

It was narrated that Hanzalah bin Qais said: "I asked Rafi' bin Khadij about leasing land. He said: 'The Messenger of Allah forbade leasing land.' I said: 'For gold or silver?' He said: 'No, rather he forbade leasing it in return for what the land produces. As for gold and silver, there is nothing wrong with that.'"

أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا يَحْيَى، قَالَ حَدَّثَنَا مَالِكٌ، عَنْ رَبِيعَةَ، عَنْ حَنْظَلَةَ بْنِ قَيْسٍ، قَالَ سَأَلْتُ رَافِعَ بْنَ خَدِيجٍ عَنْ كِرَاءِ الأَرْضِ، فَقَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ كِرَاءِ الأَرْضِ‏.‏‏ قُلْتُ بِالذَّهَبِ وَالْوَرِقِ قَالَ لاَ إِنَّمَا نَهَى عَنْهَا بِمَا يَخْرُجُ مِنْهَا فَأَمَّا الذَّهَبُ وَالْفِضَّةُ فَلاَ بَأْسَ‏.‏‏ رَوَاهُ سُفْيَانُ الثَّوْرِيُّ رضى الله عنه عَنْ رَبِيعَةَ وَلَمْ يَرْفَعْهُ‏.‏‏

sunnah.com