Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "Whoever sits as a judge among the Muslims has been slaughtered without a knife."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20219