It was narrated that Rafi` bin khadij said:
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." (ID)
English reference (ID): Vol. 3, Book 16, Hadith 2465 (ID)
Arabic reference (ID): Book 16, Hadith 2559 (ID)