"الْقُضَاةُ ثلاثَةُ، قاضيان في النَّار، وقاضٍ في الجنةِ، قاضٍ قَضَى بِغَيرِ الحق وهو يَعْلمُ فَذَاكَ فِي النَّارِ، وقَاضٍ قَضَى وَهُوَ لا يَعْلَمُ فأَهْلَكَ حقوقَ النَّاسِ فَذَاك في النَّارِ، وقَاضٍ قَضَى بالحقِّ فَذَاكَ في الجنَّةِ" .
"The judges are three: Two judges that are in the Fire, and a judge that is in Paradise. A man who judges without the truth, and he knows that. This one is in the Fire. One who judges while not knowing, ruining the rights of the people. So he is in the Fire. A judge who judges with the truth, that is the one in Paradise."] (Daif)
أَنَّ النَّبِيَّ ﷺ قَالَ الْقُضَاةُ ثَلاَثَةٌ قَاضِيَانِ فِي النَّارِ وَقَاضٍ فِي الْجَنَّةِ رَجُلٌ قَضَى بِغَيْرِ الْحَقِّ فَعَلِمَ ذَاكَ فَذَاكَ فِي النَّارِ وَقَاضٍ لاَ يَعْلَمُ فَأَهْلَكَ حُقُوقَ النَّاسِ فَهُوَ فِي النَّارِ وَقَاضٍ قَضَى بِالْحَقِّ فَذَلِكَ فِي الْجَنَّةِ
"The judges are three: Two judges that are in the Fire, and a judge that is in Paradise. A man who judges without the truth, and he knows that. This one is in the Fire. One who judges while not knowing, ruining the rights of the people. So he is in the Fire. A judge who judges with the truth, that is the one in Paradise."] (Daif) (Using translation from Tirmidhī 1322)
قَالَ رَسُولُ اللهِ ﷺ «الْقُضَاةُ ثَلَاثَةٌ قَاضِيَانِ فِي النَّارِ وَقَاضٍ فِي الْجَنَّةِ قَاضٍ قَضَى بِغَيْرِ حَقٍّ وَهُوَ يَعْلَمُ فَذَاكَ فِي النَّارِ وَقَاضٍ قَضَى وَهُوَ لَا يَعْلَمُ فَأَهْلَكَ حُقُوقَ النَّاسِ فَذَلِكَ فِي النَّارِ وَقَاضٍ قَضَى بِالْحَقِّ فَذَاكَ فِي الْجَنَّةِ»
[Machine] The Messenger of Allah ﷺ said: "There are three types of judges: one judge in Hellfire, and a judge in Paradise. The judge who judges without justice, knowing the truth, is in Hellfire. The judge who judges without knowledge, destroying people's rights, is also in Hellfire. The judge who judges with justice is in Paradise." And Abu Sa'ad al-Maliniyy narrated to us, who narrated from Abu Ahmed bin Adi, who narrated from Al-Hassan bin Sufyan, who narrated from Hirmalah, who narrated from Ibn Wahb, who narrated from Hatim bin Ismail, who narrated from Shareek, and he mentioned it in a similar manner.
قَالَ رَسُولُ اللهِ ﷺ الْقُضَاةُ ثَلَاثَةٌ قَاضِيَانِ فِي النَّارِ وَقَاضٍ فِي الْجَنَّةِ قَاضٍ قَضَى بِغَيْرِ الْحَقِّ وَهُوَ يَعْلَمُ فَذَاكَ فِي النَّارِ وَقَاضٍ قَضَى وَهُوَ لَا يَعْلَمُ فَأَهْلَكَ حُقُوقَ النَّاسِ فَذَاكَ فِي النَّارِ وَقَاضٍ قَضَى بِالْحَقِّ فَذَاكَ فِي الْجَنَّةِ 20356 وَأَخْبَرَنَا أَبُو سَعْدٍ الْمَالِينِيُّ أنبأ أَبُو أَحْمَدَ بْنُ عَدِيٍّ أنبأ الْحَسَنُ بْنُ سُفْيَانَ ثنا حَرْمَلَةُ ثنا ابْنُ وَهْبٍ ثنا حَاتِمُ بْنُ إِسْمَاعِيلَ عَنْ شَرِيكٍ فَذَكَرَهُ بِنَحْوِهِ
"القُضاةُ ثَلاثَةٌ: قَاضيانِ في النَّارِ، وقَاضٍ في الجَنَّةِ، قَاضٍ قَضَى بالهَوى فَهُوَ في النَّارِ، وقاضٍ قَضَى بغير عَلمٍ فَهُوَ فِي النَّارِ، وقَاضٍ قَضَى بالحقّ فَهُوَ في الجَنَّةِ" .