(5) باب قَضِيَّةِ الْحَاكِمِ لاَ تُحِلُّ حَرَامًا وَلاَ تُحَرِّمُ حَلاَلاً
It was narrated from Umm Salamah that the Messenger of Allah (ﷺ) said:
"You refer your disputes to me and I am only human. Perhaps some of you may be more eloquent in presenting your case than others, so I rule in your favor because of what I hear from you. If I pass a judgement in favor of one of you that detracts from his brother's rights, then he should not take it, because it is a piece of fire that is given to him which he will bring forth on the Day Resurrection."
Reference: Sunan Ibn Majah 2317
In-book reference: Book 13, Hadith 10
English translation: Vol. 3, Book 13, Hadith 2317