From Sahih Muslim (Hadith 3925):
Jabir b. Abdullah (Allah be pleased with them) reported:We used to get land (on rent) during the lifetime of Allah's Messeuge, (ﷺ) with a share of one-third or one-fourth (of the produce from the land irrigated) with the help of canals. Thereupon Allah's Messenger (ﷺ) stood up (to address) and said: HRe who has land should cultivate it, and if he does not cultivate it, he should lend it to his brother, and if he does not lend it to his brother, he should then retain it
Reference: Muslim 3925