حَدَّثَنَا عَبْدَانُ بْنُ أَحْمَدَ، ثنا خَلِيفَةُ بْنُ خَيَّاطٍ، ثنا سَهْلُ بْنُ حَمَّادٍ، ثنا حَفْصُ بْنُ سُلَيْمَانَ، ثنا قَيْسُ بْنُ مُسْلِمٍ، عَنْ طَارِقِ بْنِ شِهَابٍ، عَنْ عَبْدِ اللهِ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِنَّ اللهَ عَزَّ وَجَلَّ مَعَ الْقَاضِي، مَا لَمْ يَحِفْ عَمْدًا»
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, is with the judge as long as he does not deliberately do injustice."