[Machine] The Messenger of Allah ﷺ said, "Indeed, Allah is with the judge as long as he does not act unjustly. And when he acts unjustly, Allah Almighty absolves Himself from him." This is narrated by Abu Al-Awwam, who is Imran ibn Dawud Al-Qattan, and the chain of narration is authentic.
قَالَ رَسُولُ اللَّهِ ﷺ «إِنَّ اللَّهَ مَعَ الْقَاضِي مَا لَمْ يَجُرْ فَإِذَا جَارَ تَبَرَّأَ اللَّهُ ﷻ مِنْهُ» أَبُو الْعَوَّامِ هَذَا عِمْرَانُ بْنُ دَاودَ الْقَطَّانُ وَالْإِسْنَادُ صَحِيحٌ وَلَمْ يُخَرِّجَاهُ صحيح