I heard Ibn Umar say: We did not see any harm in sharecropping till I heard Rafi' ibn Khadij say: The Messenger of Allah (ﷺ) has forbidden it. So I mentioned it to Tawus. He said: Ibn Abbas told me that the Messenger of Allah (ﷺ) had not forbidden it, but said: It is better for one of you to lend to his brother than to take a prescribed sum from him.
Sunan Abi Dawud Book 23, Hadith 64