The Messenger of Allah ﷺ said, "You bring your disputes to me, and perhaps some of you are more eloquent in presenting their case than others. I am only a human being, and I judge in your favor based on what I hear. So whoever I rule in his favor by granting him something that rightfully belongs to his brother, it is only a piece of the Fire, so let him not take it."
حدثنا أبو معاوية قال حدثنا هشام عن أبيه عن زينب بنت أبي سلمة
قال رسول الله ﷺ إنكم تختصمون إلي ولعل بعضكم أن يكون ألحن بحجته من بعض وإنما أنا بشر أقضي له على نحو ما أسمع منه فمن قضيت له من حق أخيه شيئا فإنما هو نار فلا يأخذه
Its chain of transmission is sahih. Bukhari related it, 12/339 no. 6967, and Muslim, 3/1337 no. 1713, and Abu Dawud, 3/301 no. 3583, and Nasai, 8/233 no. 5401, and Tirmidhi, 3/615 no. 1339, and Malik, 2/719 no. 1, and Humaydi, 1/142 no. 296.