Sunan Abu Dawud
3589
Sahih+3

Abd al-Rahman bin Abi Bakrah reported on the authority of his father that he wrote to his son:The Messenger of Allah (ﷺ) said: A judge should not decide between the two while he is in anger

SahihAl-Albani
SahihMuhammad Muhyi Al-Din Abdul Hamid