It was narrated that 'Amr bin Dinar said:
"I heard Ibn 'Umar say: 'We used to lend land for cultivation in return for a share of the harvest, and we did not see anything wrong with that, until we heard Rafi' bin Khadij say: "The Messenger of Allah (ﷺ) forbade it." Then we stopped because of what he said.' "
English reference: Vol. 3, Book 16, Hadith 2450
Arabic reference: Book 16, Hadith 2544