The tribes of Nadir and Qurayza waged war against him. He expelled Banu Nadir but allowed Qurayza to remain and showed them favor, until Qurayza waged war against him. He then killed their men and divided their women, children, and property among the Muslims, except for some who came to the Prophet ﷺ seeking safety. He granted them protection and they accepted Islam.He expelled all the Jews of Medina, Banu Qaynuqa, who were the clan of Abdullah bin Salam, the Jews of Banu Haritha, and every Jewish community in Medina.
حاربت النضير وقريظة، فأجلى بني النضير وأقر قريظة، ومن عليهم حتى حاربت قريظة، فقتل رجالهم، وقسم نساءهم، وأولادهم، وأموالهم بين المسلمين إلا بعضهم لحقوا بالنبي ﷺ فآمنهم وأسلموا. وأجلى يهود المدينة كلهم: بني قينقاع، وهم رهط عبد الله بن سلام، ويهود بني حارثة، وكل يهود المدينة.
Bukhari narrated it in the Book of Military Expeditions (4028) and Muslim in the Book of Jihad (1766), both from the hadith of Abdul-Razzaq, who said, Ibn Jurayj informed us, from Musa bin Uqba, from Nafi, from Ibn Umar, who said, and he mentioned it.