It is reported that the Prophet ﷺ forbade the leasing of farmland.Ubaydullah narrated from Nafi from Ibn Umar that this remained the case until Umar expelled them.
وأن
حدث أن النبي ﷺ نهى عن كراء المزارع وقال عبيد الله عن نافع عن ابن عمر حتى أجلاهم عمر