Sahih al-Bukhari 7158
صحيح البخاري#7158SahihNarrated `Abdur Rahman bin Abi Bakra:Abu Bakra wrote to his son who was in Sijistan: 'Do not judge between two persons when you are angry, for I heard the Prophet (ﷺ) saying, "A judge should not judge between two persons while he is in an angry mood
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 93:22