[Machine] The Messenger of Allah ﷺ said, "There are three types of judges: two in Hellfire and one in Paradise. The man who knows the truth and judges accordingly is in Paradise. The man who judges among people out of ignorance is in Hellfire. And the man who knows the truth but acts unjustly is in Hellfire. We say that when a judge strives to reach a verdict, he is not held accountable. The scholar, may Allah have mercy on him, said, 'His effort without knowledge will not guide him to the truth except by coincidence. He does not have permission to do so.'"
قَالَ رَسُولُ اللهِ ﷺ الْقُضَاةُ ثَلَاثَةٌ اثْنَانِ فِي النَّارِ وَوَاحِدٌ فِي الْجَنَّةِ رَجُلٌ عَرَفَ الْحَقَّ فَقَضَى بِهِ فَهُوَ فِي الْجَنَّةِ وَرَجُلٌ قَضَى بَيْنَ النَّاسِ بِالْجَهْلِ فَهُوَ فِي النَّارِ وَرَجُلٌ عَرَفَ الْحَقَّ فَجَارَ فَهُوَ فِي النَّارِ لَقُلْنَا إِنَّ الْقَاضِيَ إِذَا اجْتَهَدَ فَلَيْسَ عَلَيْهِ شَيْءٌ قَالَ الشَّيْخُ رَحِمَهُ اللهُ اجْتِهَادُهُ بِغَيْرِ عَلِمٍ لَا يَهْدِيهِ إِلَى الْحَقِّ إِلَّا اتِّفَاقًا فَلَمْ يَكُنْ مَأْذُونًا لَهُ فِيهِ