The Prophet (ﷺ) said: He who has been appointed a judge has been killed without a knife.
Sunan Abi Dawud Book 25, Hadith 1