When the tribe of Bani Quraiza was ready to accept Saʿd's judgment, Messenger of Allah ﷺ sent for Saʿd who was near to him. Saʿd came, riding a donkey and when he came near, Messenger of Allah ﷺ said (to the Ansar), "Stand up for your leader." Then Saʿd came and sat beside Messenger of Allah ﷺ who said to him. "These people are ready to accept your judgment." Saʿd said, "I give the judgment that their warriors should be killed and their children and women should be taken as prisoners." The Prophet ﷺ then remarked, "O Saʿd! You have judged amongst them with (or similar to) the judgment of the King Allah." (Using translation from Bukhārī 3043)
لَمَّا نَزَلَتْ بَنُو قُرَيْظَةَ عَلَى حُكْمِ سَعْدٍ ؓ فَبَعَثَ إِلَيْهِ رَسُولُ اللهِ ﷺ وَكَانَ قَرِيبًا فَجَاءَ عَلَى حِمَارٍ فَلَمَّا دَنَا قَالَ النَّبِيُّ ﷺ قُومُوا إِلَى سَيِّدِكُمْ فَجَاءَ فَجَلَسَ إِلَى رَسُولِ اللهِ ﷺ فَقَالَ إِنَّ هَؤُلَاءِ نَزَلُوا عَلَى حُكْمِكَ قَالَ فَإِنِّي أَحْكُمُ فِيهِمْ أَنْ يُقْتَلَ الْمُقَاتِلَةُ وَأَنْ تُسْبَى الذُّرِّيَّةُ فَقَالَ لَقَدْ حَكَمْتَ فِيهِمْ بِحُكْمِ اللهِ