Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ said, "You bring your disputes to me, and I am only a human being. Perhaps some of you are more eloquent in presenting their argument than others, so I judge between you based on what I hear. Whoever I rule in his favor concerning something that belongs to his brother by right, let him not take it, for I am only granting him a piece of the Fire which he will bring with him on the Day of Resurrection."

Ibn Majah 2317

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا وكيع حدثنا هشام بن عروة عن أبيه عن زينب بنت أم سلمة

عن أم سلمة قالت

قال رسول الله ﷺ إنكم تختصمون إلي وإنما أنا بشر ولعل بعضكم أن يكون ألحن بحجته من بعض وإنما أقضي لكم على نحو مما أسمع منكم فمن قضيت له من حق أخيه شيئا فلا يأخذه فإنما أقطع له قطعة من النار يأتي بها يوم القيامة

ابن ماجه 2317صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Rulings
Chapter
A judge's ruling does not make lawful what is unlawful nor make unlawful what is lawful
Numbering
Darussalam 2317
Ibn Majah 2317