Burayda reported,

The Prophet ﷺ said, "Judges are of three kinds, two are in the Fire and one is in the Paradise. A man who judged unjustly knowing the truth, he is in the Fire. A judge who lacked knowledge and so destroyed people's rights, he is in the Fire. And a judge who judged with truth, he is in the Paradise."

Tirmidhi 1323

Daif

حدثنا محمد بن إسمعيل حدثني الحسن بن بشر حدثنا شريك عن الأعمش عن سعد بن عبيدة

عن ابن بريدة عن أبيه

أن النبي ﷺ قال القضاة ثلاثة قاضيان في النار وقاض في الجنة رجل قضى بغير الحق فعلم ذاك فذاك في النار وقاض لا يعلم فأهلك حقوق الناس فهو في النار وقاض قضى بالحق فذلك في الجنة

الترمذي 1323ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Rulings
Chapter
Judgeship
Numbering
Darussalam 1323
Tirmidhi 1323