It was narrated from Abu Hurairah that the Prophet (ﷺ) said:
“Whoever is appointed judge between the people, he has been slaughtered without a knife.”