Sayyiduna Abu Bakrah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: If a judge is in a state of anger, he should not decide between two people.
Hadith Referenceالمنتقى ابن الجارود / كتاب الطلاق / 997