Banu Nadir and Banu Qurayza waged war, so he expelled Banu Nadir and left Banu Qurayza in place, showing them favor, until Banu Qurayza waged war. Their men were killed, and their women, children, and property were divided among the Muslims, except for some who came to the Prophet ﷺ. He granted them safety, and they accepted Islam.He expelled all the Jews of Madinah, Banu Qaynuqa, who were the clan of Abdullah bin Salam, the Jews of Banu Haritha, and every Jewish community in Madinah.
حاربت النضير وقريظة، فأجلى بني النضير وأقر قريظة، ومن عليهم حتى حاربت قريظة، فقتل رجالهم، وقسم نساءهم وأولادهم وأموالهم بين المسلمين إلا بعضهم لحقوا بالنبي ﷺ فآمنهم وأسلموا. وأجلى يهود المدينة كلهم: بني قينقاع، وهم رهط عبد الله بن سلام، ويهود بني حارثة، وكل يهود المدينة.
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, then he mentioned it.