It was narrated from 'Abdul-Malik bin 'Umair that he heard 'Abdur-Rahman bin Abu Bakrah (narrate) from his father that the Messenger of Allah (ﷺ) said: “Let the judge (Qadi) not pass a judgment when he is angry.”
SahihSahihSahihBook 13 · Hadith 9
سنن ابن ماجه
It was narrated from 'Abdul-Malik bin 'Umair that he heard 'Abdur-Rahman bin Abu Bakrah (narrate) from his father that the Messenger of Allah (ﷺ) said: “Let the judge (Qadi) not pass a judgment when he is angry.”