Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:9657a
Request/Fix translation

  

السيوطي:٩٦٥٧a

"اللهُ معَ القَاضِي مَا لَمْ يَجُرْ فَإِذَا جَارَ تَخَلَّى عَنْهُ، وَلَزِمَهُ الشيطَانُ ".  

[ت] الترمذي غريب، [ق] البيهقى في السنن عن عبد الله بن أبي أَوفى

See similar narrations below:

Collected by Tirmidhī, Bayhaqī, Suyūṭī
tirmidhi:1330ʿAbd al-Quddūs b. Muḥammad Abū Bakr al-ʿAṭṭār > ʿAmr b. ʿĀṣim > ʿImrān al-Qaṭṭān > Abū Isḥāq al-Shaybānī > ʿAbdullāh b. Abū Awfá

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

الترمذي:١٣٣٠حَدَّثَنَا عَبْدُ الْقُدُّوسِ بْنُ مُحَمَّدٍ أَبُو بَكْرٍ الْعَطَّارُ حَدَّثَنَا عَمْرُو بْنُ عَاصِمٍ حَدَّثَنَا عِمْرَانُ الْقَطَّانُ عَنْ أَبِي إِسْحَاقَ الشَّيْبَانِيِّ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي أَوْفَى قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ اللَّهَ مَعَ الْقَاضِي مَا لَمْ يَجُرْ فَإِذَا جَارَ تَخَلَّى عَنْهُ وَلَزِمَهُ الشَّيْطَانُ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ إِلاَّ مِنْ حَدِيثِ عِمْرَانَ الْقَطَّانِ
bayhaqi:20451Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū al-Ḥusayn Aḥmad b. ʿUthmān al-Muqriʾ> Abū Qilābah > ʿAmr b. ʿĀṣim > ʿImrān al-Qaṭṭān > al-Shaybānī > ʿAbdullāh b. Abū Awfá

[Machine] The Messenger of Allah ﷺ said, "Indeed, Allah is with the judge as long as he does not transgress. But when he transgresses, Allah will abandon him and make the devil seize him."  

البيهقي:٢٠٤٥١أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْحُسَيْنِ أَحْمَدُ بْنُ عُثْمَانَ الْمُقْرِئُ بِبَغْدَادَ ثنا أَبُو قِلَابَةَ ثنا عَمْرُو بْنُ عَاصِمٍ ثنا عِمْرَانُ الْقَطَّانُ عَنِ الشَّيْبَانِيِّ عَنْ عَبْدِ اللهِ بْنِ أَبِي أَوْفَى قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِنَّ اللهَ مَعَ الْقَاضِي مَا لَمْ يَجُرْ فَإِذَا جَارَ بَرِئَ اللهُ مِنْهُ وَأَلْزَمَهُ الشَّيْطَانَ  

bayhaqi:20167Abū al-Ḥusayn b. Bishrān al-ʿAdl> Abū Aḥmad Ḥamzah b. Muḥammad b. al-ʿAbbās > al-Faḍl b. al-Ḥārith > Abū Qilābah ʿAbd al-Malik b. Muḥammad > ʿAmr b. ʿĀṣim al-Kilābī > ʿImrān al-Qaṭṭān > al-Shaybānī > Ibn Abū Awfá

[Machine] The Prophet of Allah ﷺ said, "Indeed, Allah is with the judge as long as he is not unjust. However, when he becomes unjust, Allah distances Himself from him and Satan clings to him."  

البيهقي:٢٠١٦٧أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ الْعَدْلُ بِبَغْدَادَ أنبأ أَبُو أَحْمَدَ حَمْزَةُ بْنُ مُحَمَّدِ بْنِ الْعَبَّاسِ ثنا الْفَضْلُ بْنُ الْحَارِثِ ثنا أَبُو قِلَابَةَ عَبْدُ الْمَلِكِ بْنُ مُحَمَّدٍ ثنا عَمْرُو بْنُ عَاصِمٍ الْكِلَابِيُّ ثنا عِمْرَانُ الْقَطَّانُ عَنِ الشَّيْبَانِيِّ عَنِ ابْنِ أَبِي أَوْفَى قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِنَّ اللهَ ﷻ مَعَ الْقَاضِي مَا لَمْ يَجُرْ فَإِذَا جَارَ بَرِئَ اللهُ مِنْهُ وَلَزِمَهُ الشَّيْطَانُ  

suyuti:5064a
Request/Fix translation

  

السيوطي:٥٠٦٤a

"إِن الله مع القاضي ما لم يَجُرْ فإِذا جارَ تبرَّأ الله منه، وأَلزَمه الشيطانَ".  

[ك] الحاكم في المستدرك [ق] البيهقى في السنن عن ابن أَبي أَوْفى