It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that Sayyiduna Umar (may Allah be pleased with him) expelled the Jews from the Hijaz. When the Messenger of Allah (peace and blessings be upon him) conquered Khaybar, he too intended to remove the Jews from there, and at that time the land of Khaybar belonged to Allah, His Messenger (peace and blessings be upon him) and all the Muslims. When he intended to remove the Jews, they requested that they be allowed to stay there and work the land, in return for which they would receive half of the fruit. The Messenger of Allah (peace and blessings be upon him) said: "We will let you stay on that condition for as long as we wish." So they stayed there until Sayyiduna Umar (may Allah be pleased with him), during his rule, expelled them to Tayma' and Ariha.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المساقاة / 11623