One who stays away from people’s wealth, is just in judgment, and judges on the principle of equality
➊ Allah the Exalted says:
يَا دَاوُودُ إِنَّا جَعَلْنَاكَ خَلِيفَةً فِي الْأَرْضِ فَاحْكُم بَيْنَ النَّاسِ بِالْحَقِّ وَلَا تَتَّبِعِ الْهَوَىٰ فَيُضِلَّكَ عَن سَبِيلِ اللَّهِ ۚ إِنَّ الَّذِينَ يَضِلُّونَ عَن سَبِيلِ اللَّهِ لَهُمْ عَذَابٌ شَدِيدٌ بِمَا نَسُوا يَوْمَ الْحِسَابِ [Sad: 26]
“O Dawud! We have made you a vicegerent in the land, so judge between people with truth and do not follow your desires, for they will lead you astray from the path of Allah. Indeed, those who go astray from the path of Allah will have a severe punishment, because they forgot the Day of Reckoning.”
Indeed, a ruler or judge who does not avoid people’s wealth will not refrain from taking bribes either, and because of this he will not be able to judge according to the truth. Likewise, an unjust judge will abandon the truth even while knowing it. So these are among the judges who have been warned of Hell, as in the words:
رجل عرف الحق و جار فى الحكم
“(One of the judges who will go to Hell is) the one who knew the truth and yet was unjust in judgment.”
(Ibn Taymiyyah, may Allah have mercy on him) The scholars have unanimously agreed that judging or issuing a fatwa merely by desire is forbidden.
[Akhbar al-Ilmiyyah fi al-Ikhtiyarat al-Fiqhiyyah: p. 480]
(Shah Waliullah, may Allah have mercy on him) The person who assumes the office of judgeship must be just, free from committing injustice or inclining to either side, and a scholar who recognizes the truth, especially one well acquainted with the issues of judgeship and its hidden subtleties. Apart from this, even the existence of any benefit cannot be imagined.
[Hujjat Allah al-Balighah: 166/2]