Hadithcore
Hadith #2111090

A narration by al-Bukhari and Muslim has:

They asked him (ﷺ) to allow them to stay on the land, on condition that they should do all the cultivation and have half the dates. Allah's Messenger (ﷺ) replied to them, "We shall allow you to stay on the land, on that condition, as long as we wish." So they remained on the land till 'Umar (RA) expelled them.

وَفِي رِوَايَةٍ لَهُمَا: فَسَأَلُوا أَنْ يُقِرَّهُمْ بِهَا عَلَى أَنْ يَكْفُوا عَمَلَهَا وَلَهُمْ نِصْفُ اَلثَّمَرِ, فَقَالَ لَهُمْ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ نُقِرُّكُمْ بِهَا عَلَى ذَلِكَ مَا شِئْنَا ", فَقَرُّوا بِهَا, حَتَّى أَجْلَاهُمْ عُمَرُ } [1]‏ .‏

References2 variants
Sunnah.com reference
Book 7, Hadith 157
Arabic/English book reference
Book 7, Hadith 0