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