Following the Battle of the Trench, the Banu Qurayzah, a Jewish tribe in Madinah, faced accusations of treachery. They had been part of a treaty with the Muslims, but during the siege of Madinah, they were alleged to have negotiated with the Quraysh, the besieging force. With the withdrawal of the Quraysh, the Muslim forces, led by the Prophet Muhammad (PBUH), turned their attention to Banu Qurayzah, laying siege to their fortress.
The siege lasted for several weeks, and ultimately, Banu Qurayzah surrendered. The Prophet (PBUH) allowed the tribe to choose their own arbiter, and they selected Sad ibn Muadh, a leader of the Aws tribe, who had been an ally of Banu Qurayzah. Sad, gravely wounded in the Battle of the Trench, was brought to deliver his judgment. He ruled that the men of Banu Qurayzah should be executed, and the women and children enslaved. This decision was in accordance with the Torah, which Banu Qurayzah recognized as their law.
Quran 33:26-27 refers to this outcome, noting the defeat and the subsequent distribution of their properties. This passage underscores the complete submission of Banu Qurayzah following the siege, as well as the material gains for the Muslims.