Some people (i.e. the Jews of Bani bin Quraiza) agreed to accept the verdict of Saʿd bin Muʿadh so the Prophet ﷺ sent for him (i.e. Saʿd bin Muʿadh). He came riding a donkey, and when he approached the Mosque, the Prophet ﷺ said, "Get up for the best amongst you." or said, "Get up for your chief." Then the Prophet ﷺ said, "O Saʿd! These people have agreed to accept your verdict." Saʿd said, "I judge that their warriors should be killed and their children and women should be taken as captives." The Prophet said, "You have given a judgment similar to Allah's Judgment (or the King's judgment).
عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ؓ أَنَّ أُنَاسًا نَزَلُوا عَلَى حُكْمِ سَعْدِ بْنِ مُعَاذٍ فَأَرْسَلَ إِلَيْهِ فَجَاءَ عَلَى حِمَارٍ فَلَمَّا بَلَغَ قَرِيبًا مِنَ الْمَسْجِدِ قَالَ النَّبِيُّ ﷺ قُومُوا إِلَى خَيْرِكُمْ أَوْ سَيِّدِكُمْ فَقَالَ يَا سَعْدُ إِنَّ هَؤُلاَءِ نَزَلُوا عَلَى حُكْمِكَ قَالَ فَإِنِّي أَحْكُمُ فِيهِمْ أَنْ تُقْتَلَ مُقَاتِلَتُهُمْ وَتُسْبَى ذَرَارِيُّهُمْ قَالَ حَكَمْتَ بِحُكْمِ اللَّهِ أَوْ بِحُكْمِ الْمَلِكِ