The tribes of Nadir and Qurayza waged war, so he expelled Banu Nadir and showed favor to Qurayza by sparing them, until Qurayza later waged war as well. He then executed their men and divided their women, children, and wealth among the Muslims, except for some who came to the Prophet ﷺ. He granted them safety, and they embraced Islam.He expelled all the Jews of Madinah, including Banu Qurayza, who were the clan of Abdullah bin Salam, the Jews of Banu Haritha, and every Jewish group in Madinah.
حاربت النضير وقريظة فأجلى بني النضير، وأمر قريظة ومن عليهم، حتى حاربت قريظة، فقتل رجالهم، وقسم نساءهم، وأولادهم، وأموالهم بين المسلمين إلا بعضهم لحقوا بالنبي ﷺ فأمنهم وأسلموا، وأجلى يهود المدينة كلهم، بني قريظة وهم رهط عبد الله بن سلام ويهود بني حارثة، وكل يهود المدينة.
Bukhari related it in the Maghazi (4028), and Muslim in the Jihad (1766), both of them through Abdul-Razzaq, who said, Ibn Jurayj informed us, from Musa bin Uqba, from Nafi, from Ibn Umar, who said, and then he narrated it.