(19) بَابُ مَا كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُعْطِي الْمُؤَلَّفَةَ قُلُوبُهُمْ وَغَيْرَهُمْ مِنَ الْخُمُسِ وَنَحْوِهِ
Narrated Ibn `Umar:
`Umar bin Al-Khattab expelled all the Jews and Christians from the land of Hijaz. Allah's Messenger (ﷺ) after conquering Khaibar, thought of expelling the Jews from the land which, after he conquered it belonged to Allah, Allah's Messenger (ﷺ) and the Muslims. But the Jews requested Allah's Messenger (ﷺ) to leave them there on the condition that they would do the labor and get half of the fruits (the land would yield). Allah's Messenger (ﷺ) said, "We shall keep you on these terms as long as we wish." Thus they stayed till the time of `Umar's Caliphate when he expelled them to Taima and Ariha.
Reference: Sahih al-Bukhari 3152
In-book reference: Book 57, Hadith 60
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 53, Hadith 380