From Sahih Muslim (Hadith 3935):
Zaid b. Amr reported:I heard Ibn Umar (Allah be pleased with them) say: We did not see any harm in renting of the land, but as the first year was over Rafi' alleged Allah's Apostle (ﷺ) having forbidden that
Reference: Muslim 3935