"[Indeed] Allah is with the judge as long as he is not unjust. So when he is unjust, He…

Jami` at-Tirmidhi Book 15 Hadith 10

Jami` at-Tirmidhi #1330

The Chapters On Judgements From The Messenger of Allah 15:10

['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."

Chapter: What Has Been Related About The Just Imam

Grade: Hasan (Darussalam)