Sunan Ibn Majah
2312
Hasan+2

It was narrated from 'Abdullah bin Abu Awfa that the Messenger of Allah (ﷺ) said:“Allah is with the judge so long as he is not unjust, but if he rules unjustly, He entrusts him to himself.”

HasanAl-Albani
HasanMuhammad Fouad Abd al-Baqi