Hanzalah bin Qays (may Allah have mercy on him) said: I asked Rafi' (may Allah be pleased with him) about renting out land for gold and silver, and he said: There is no harm in it. In the time of the Messenger of Allah (peace and blessings be upon him), people used to rent it out for the banks of the streams, the heads of the water channels and the produce of the land. Sometimes one part would perish and another would survive, and people had no form of renting except this; that is why he (peace and blessings be upon him) forbade it. But if it is something specified, there is no harm in it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المزارعة / 11721