´Abu Hurairah narrated that the Messenger of Allah (ﷺ) said:` "Whoever takes the responsibility of judge, or is appointed as judge between the people, then he has been slaughtered without a knife."
Hadith ReferenceSunan at-Tirmidhi / The Chapters On Judgements From The Messenger of Allah / Hadith: 1325
Hadith Gradingالألبانی:صحيح، ابن ماجة (2308)
Hadith Takhrij«سنن ابی داود/ الأقضیة 1 (3571) ، سنن ابن ماجہ/الأحکام 1 (2308) ، ( تحفة الأشراف : 13002) ، و مسند احمد 2/365) (صحیح)»