The Jews of Banu Nadir and Banu Qurayza waged war against the Messenger of Allah ﷺ. So the Messenger of Allah ﷺ expelled Banu Nadir but allowed Banu Qurayza to remain, granting them favor, until Banu Qurayza later went to war. Their men were killed, and their women, children, and property were divided among the Muslims, except for some who came to the Messenger of Allah ﷺ. He granted them safety, and they embraced Islam.The Messenger of Allah ﷺ expelled all the Jews of Madinah, the Banu Qaynuqa, who were the people of Abdullah bin Salam, the Jews of Banu Haritha, and every Jew who was in Madinah.
و حدثني محمد بن رافع وإسحق بن منصور قال ابن رافع حدثنا و قال إسحق أخبرنا عبد الرزاق أخبرنا ابن جريج عن موسى بن عقبة عن نافع
أن يهود بني النضير وقريظة حاربوا رسول الله ﷺ فأجلى رسول الله ﷺ بني النضير وأقر قريظة ومن عليهم حتى حاربت قريظة بعد ذلك فقتل رجالهم وقسم نساءهم وأولادهم وأموالهم بين المسلمين إلا أن بعضهم لحقوا برسول الله ﷺ فآمنهم وأسلموا وأجلى رسول الله ﷺ يهود المدينة كلهم بني قينقاع وهم قوم عبد الله بن سلام ويهود بني حارثة وكل يهودي كان بالمدينة