Sunan Ibn Majah Book 16, Hadith 29
“For one of you to give (land) to his brother is better for him than if he were to take a set amount in rent for it.”
Mu`adh bin Jabl leased some land during the time of the Messenger of Allah (ﷺ), Abu Bakr, 'Umar and 'Uthmah, in return for one third or one fourth (of the yield), and he was still doing that until this day of yours.
We used to give land in return for food at the time of the Messenger of Allah (ﷺ), and some of my paternal uncles came to them and said: “The Messenger of Allah (ﷺ) said: 'Whoever has land, he should not rent it out for a set amount of food.”