It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he said: When I heard many people (talking) about renting out land, I said: 'Subhan Allah' (Glory be to Allah)! The Messenger of Allah (peace and blessings be upon him) only said: "Listen! Give it to your brother," and he (peace and blessings be upon him) did not forbid renting it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المزارعة / 11735