Burayda bin Husayb reported,

The Prophet ﷺ said, "Judges are of three kinds. One will be in Paradise, and two will be in the Fire. As for the one in Paradise, he is a man who recognized the truth and judged by it. A man who recognized the truth but ruled unjustly will be in the Fire, and a man who judged among people in ignorance will be in the Fire."

Azami 6716

Hasan

عن بريدة بن الحصيب

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

الأعظمي 6716حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Judgeship
Chapter
Conduct of the judge
Section
Judge errs
Numbering
Jami al-Kamil 6716 (2nd edition)
Azami 6716