Umar bin Khattab expelled the Jews and Christians from the land of Hijaz. When the Messenger of Allah ﷺ had prevailed over the people of Khaybar, he intended to drive the Jews out of it. The land, once he had conquered it, belonged to the Jews, to the Messenger, and to the Muslims. The Jews asked the Messenger of Allah ﷺ to let them remain in exchange for taking on the labor, with half of the produce going to them.The Messenger of Allah ﷺ replied, "We will allow you to remain on these terms for as long as we wish."So they remained until Umar, during his rule, expelled them to Tayma and Ariha.
حدثني أحمد بن المقدام حدثنا الفضيل بن سليمان حدثنا موسى بن عقبة قال أخبرني نافع
أن عمر بن الخطاب أجلى اليهود والنصارى من أرض الحجاز وكان رسول الله ﷺ لما ظهر على أهل خيبر أراد أن يخرج اليهود منها وكانت الأرض لما ظهر عليها لليهود وللرسول وللمسلمين فسأل اليهود رسول الله ﷺ أن يتركهم على أن يكفوا العمل ولهم نصف الثمر فقال رسول الله ﷺ نقركم على ذلك ما شئنا فأقروا حتى أجلاهم عمر في إمارته إلى تيماء وأريحا