Ubayy wrote, and I wrote on his behalf, to Ubaydullah bin Abu Bakra, who was a judge in Sijistan, saying, "Do not judge between two parties while you are angry, for I heard the Messenger of Allah ﷺ say, 'No one should judge between two parties while he is angry.'"
حدثنا قتيبة بن سعيد حدثنا أبو عوانة عن عبد الملك بن عمير
كتب أبي وكتبت له إلى عبيد الله بن أبي بكرة وهو قاض بسجستان أن لا تحكم بين اثنين وأنت غضبان فإني سمعت رسول الله ﷺ يقول لا يحكم أحد بين اثنين وهو غضبان