The Prophet (peace and blessings of Allaah be upon him) commanded that the Jews be expelled from the Arabian Peninsula, and said that no two religions should co-exist in the Arabian Peninsula. This is a shar’i ruling. It is not permissible for any mushrik to remain there. With regard to the presence of the Jews in Madeenah, Khaybar, etc., this was before the command to expel them, as is well known. The command to expel them came during the final illness of the Prophet (peace and blessings of Allaah be upon him), then ‘Umar (may Allaah be pleased with him) expelled them after that.