Nafi' narrates from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Jews of Banu al-Nadir and Qurayzah waged war against the Prophet (peace and blessings be upon him), so the Messenger of Allah (peace and blessings be upon him) expelled Banu al-Nadir while letting Banu Qurayzah remain. The narrator says: The Messenger of Allah (peace and blessings be upon him) expelled the Jews of Madinah, namely Banu Qaynuqa', who were the people of Abdullah bin Salam, and he also expelled Banu Harithah. In the time of Sayyiduna Umar (may Allah be pleased with him), no Jew, Christian or any other disbeliever stayed in Madinah for more than three days. I do not know whether this was done to them or not.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18753