It is narrated from Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, Allah, Majestic and Mighty, is with the judge as long as he does not commit injustice."
It is narrated from Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, Allah, the Mighty and Majestic, is with the judge as long as he does not commit injustice (unfairness); then if he commits injustice, Allah, the Mighty and Majestic, disowns him and Shaytan clings to him."
Imam al-Tirmidhi (may Allah have mercy on him) narrated it through Abd al-Quddus bin Muhammad al-Attar from Amr bin Asim.
And Imam Ibn Majah (may Allah have mercy on him) narrated it through Ahmad bin Sinan al-Qattan from Muhammad bin Bilal, from Imran.
Imam al-Tirmidhi (may Allah have mercy on him) said: "This hadith is gharib (unusual); we know it only through the narration of Imran."
And Imam Ibn Hibban al-Busti (may Allah have mercy on him) narrated it through Abu Ya'la al-Mawsili.
Regarding Abu al-Awwam Imran bin Dawar al-Qattan, some of the scholars have criticised him and some have spoken well of him; and Allah knows best.