´['Abdullah] Ibn Abi Al-Awfa narrated that the Messenger of Allah (ﷺ) said:` "[Indeed] Allah is with the judge as long as he is not unjust. So when he is unjust, He leaves him and he is attended by Shaitan."
Hadith ReferenceSunan at-Tirmidhi / The Chapters On Judgements From The Messenger of Allah / Hadith: 1330