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). (Using translation from Bukhārī 3804)
أَنَّ بَنِي قُرَيْظَةَ لَمَّا نَزَلُوا عَلَى حُكْمِ سَعْدِ بْنِ مُعَاذٍ ؓ أَرْسَلَ إِلَيْهِ رَسُولُ اللهِ ﷺ فَجَاءَ عَلَى حِمَارٍ فَلَمَّا كَانَ قَرِيبًا مِنَ الْمَسْجِدِ قَالَ رَسُولُ اللهِ ﷺ قُومُوا إِلَى سَيِّدِكُمْ أَوْ إِلَى خَيْرِكُمْ فَقَالَ إِنَّ هَؤُلَاءِ نَزَلُوا عَلَى حُكْمِكَ قَالَ فَإِنِّي أَحْكُمُ فِيهِمْ أَنْ يُقْتَلَ مُقَاتِلَتُهُمْ وَتُسْبَى ذَرَارِيُّهُمْ قَالَ فَقَالَ رَسُولُ اللهِ ﷺ حَكَمْتَ بِحُكْمِ الْمَلِكِ وَرُبَّمَا قَالَ حَكَمْتَ بِحُكْمِ اللهِ