It is narrated from Sayyiduna Imran bin Husayn (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed Allah Almighty is with the judge as long as he does not deliberately intend injustice - or: as long as he does not do wrong intentionally - and Allah grants him success in reaching the truth as long as he does not intend anything other than it."
This chain is da'if (weak) because some of its narrators are majhul (unknown); however, it has a supporting narration (shahid) from the hadith of Sayyiduna Ma'qil bin Yasar al-Muzani (may Allah be pleased with him), whose wording is that he said: "The Prophet (peace and blessings be upon him) ordered me to judge between some people. I said: 'O Messenger of Allah! I do not have the skill to judge well.' He (peace and blessings be upon him) said: 'Indeed Allah Almighty is with the judge as long as he does not deliberately commit injustice and wrong.'" Imam Ahmad bin Hanbal narrated it in his Musnad.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب القضاء وما على القاضي في الخصوم والشهود / 4880
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«هذا إسناد ضعيف؛ لجهالة بعض رواته، لكن له شاهد من حديث معقل بن يسار المزني، ولفظه: قال: " أمرني النبي صلى الله عليه وسلم أن أقضي بين قوم، فقلت: ما أحسن أن أقضي يا رسول الله، قال: إن الله مع القاضي ما لم يحف عمدا "» «أخرجه مسند أحمد برقم: 19794، وأخرجه المستدرك على الصحيحين برقم: 6529، وأخرجه المعجم الأوسط للطبراني برقم: 6504، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 6992، 6995، 6996، وأخرجه المعجم الكبير للطبراني برقم: 5077»