Abu Saeed Khudri reported,

The people of Qurayza agreed to surrender on the condition that Saad bin Muaz would decide their fate. The Prophet ﷺ sent for Saad, who came riding on a donkey. When he drew near the mosque, the Prophet ﷺ said to the Ansar, "Stand up for your leader," or "for the best among you."Then he said, "These people have submitted to your judgment."Saad said, "Their fighters shall be killed and their women and children taken captive."The Prophet ﷺ said, "You have judged according to the ruling of Allah," and sometimes he said, "according to the ruling of the King."

Azami 8941

Sahih

عن أبي سعيد قال

نزل أهل قريظة على حكم سعد بن معاذ، فأرسل النبي ﷺ إلى سعد فأتى على حمار، فلما دنا من المسجد قال للأنصار: قوموا إلى سيدكم أو خيركم فقال: هؤلاء نزلوا على حكمك، فقال: تقتل مقاتلتهم، وتسبي ذراريهم، قال: قضيت بحكم الله، وربما قال: بحكم الملك.

الأعظمي 8941صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Banu Qurayzah
Section
Verdict of Saad bin Muaz regarding Banu Qurayzah
Numbering
Jami al-Kamil 8941 (2nd edition)
Azami 8941