حَدَّثَنَا مُحَمَّدُ بْنُ عَلِيِّ بْنِ شُعَيْبٍ السِّمْسَارُ، ثنا الْحَسَنُ بْنُ بِشْرٍ، ثنا شَرِيكٌ، عَنِ الْأَعْمَشِ، عَنْ سَعْدِ بْنِ عُبَيْدَةَ، عَنِ ابْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «الْقُضَاةُ ثَلَاثَةٌ قَاضِيَانِ فِي النَّارِ، وَقَاضٍ فِي الْجَنَّةِ، قَاضٍ قَضَى بِغَيْرِ حَقٍّ وَهُوَ يَعْلَمُ، فَذَاكَ فِي النَّارِ، وَقَاضٍ قَضَى، وَهُوَ لَا يَعْلَمُ، فَأَهْلَكَ حُقُوقَ النَّاسِ، فَذَلِكَ فِي النَّارِ، وَقَاضٍ قَضَى بِالْحَقِّ، فَذَاكَ فِي الْجَنَّةِ»
It is narrated from Sayyiduna Buraydah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Judges are of three kinds: two are in Hell and one is in Paradise. A judge who knowingly judged unjustly is in Hell; and a judge who judged without knowledge and caused people's rights to be lost is also in Hell; and a judge who judged according to the truth is in Paradise."