Abu Bakra reported,

I heard the Messenger of Allah ﷺ say, "No one should issue two different rulings on the same matter, nor should anyone judge between two disputants while he is angry."

Nasai 5423

Sahih

أخبرنا الحسين بن منصور بن جعفر قال حدثنا مبشر بن عبد الله قال حدثنا سفيان بن حسين عن جعفر بن إياس عن عبد الرحمن بن أبي بكرة وكان عاملا على سجستان قال كتب إلي

أبو بكرة يقول

سمعت رسول الله ﷺ يقول لا يقضين أحد في قضاء بقضاءين ولا يقضي أحد بين خصمين وهو غضبان

النسائي 5423صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Etiquette of judges
Chapter
Prohibition of passing two judgments in one case
Numbering
Darussalam 5423
Nasai 5423