When the tribe of Bani Quraiza was ready to accept Sa`d's judgment, Allah's Messenger (ﷺ) sent for Sa`d
who was near to him. Sa`d came, riding a donkey and when he came near, Allah's Messenger (ﷺ) said (to the
Ansar), "Stand up for your leader." Then Sa`d came and sat beside Allah's Messenger (ﷺ) 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."
Sahih al-Bukhari Book 56, Hadith 249