Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrated that the Prophet Muhammad (peace and blessings be upon him) did not prohibit this (i.e., renting out land), but he only said that if a person gives (his land) to his brother for free, it is better for him than taking its produce.
Hadith Referenceاللؤلؤ والمرجان / كتاب البيوع / 998
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 41 كتاب المزارعة: 10 باب حدثنا علي بن عبد الله»