Sahih al-Bukhari 41:13
Narrated Rafi`:
We worked on farms more than anybody else in Medina. We used to rent the land and say to the owner, "The yield of this portion is for us and the yield of that portion is for you (as the rent)." One of those portions might yield something and the other might not. So, the Prophet (ﷺ) forbade us to do so.
Reference
Sahih al-Bukhari 41:13
In-book reference
Book 41, Hadith 13
Arabic Text
حَدَّثَنَا صَدَقَةُ بْنُ الْفَضْلِ، أَخْبَرَنَا ابْنُ عُيَيْنَةَ، عَنْ يَحْيَى، سَمِعَ حَنْظَلَةَ الزُّرَقِيَّ، عَنْ رَافِعٍ ـ رضى الله عنه ـ قَالَ كُنَّا أَكْثَرَ أَهْلِ الْمَدِينَةِ حَقْلاً، وَكَانَ أَحَدُنَا يُكْرِي أَرْضَهُ، فَيَقُولُ هَذِهِ الْقِطْعَةُ لِي وَهَذِهِ لَكَ، فَرُبَّمَا أَخْرَجَتْ ذِهِ وَلَمْ تُخْرِجْ ذِهِ، فَنَهَاهُمُ النَّبِيُّ صلى الله عليه وسلم.