Mishkat al-Masabih #3584
The Offices of Commander and Qadi
'Abdallah b. Abu Aufa reported God’s Messenger as saying, “God is with the qadi as long as he is not tyrannical, but when he is He departs from him and the devil attaches himself to him.” A version has, “When he is tyrannical He leaves him to his own devices.”
Tirmidhi and Ibn Majah transmitted it.
Topics
About Mishkat al-Masabih
This hadith is #3584 from Mishkat al-Masabih, in the Book of The Offices of Commander and Qadi. Mishkat al-Masabih contains 4,428 hadiths across 25 books.