Nafi' (may Allah have mercy on him) said: Ibn Umar (may Allah be pleased with them both) used to take rent for land, until the hadith of Rafi' (may Allah be pleased with him) reached him. Nafi' (may Allah have mercy on him) said: I went with him until we came to Rafi' (may Allah be pleased with him), and Rafi' (may Allah be pleased with him) narrated from some of his paternal uncles that they reported from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) "forbade renting out land", so Ibn Umar (may Allah be pleased with them both) gave it up.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المزارعة / 11707