Sunan Abu Dawud 3598: The Office of the Judge (Kitab Al-Aqdiyah)

The tradition mentioned above has also been transmitted by Ibn 'Umar from the Prophet (saw) through different chain of narrators to the same effect. In this version he also said: "He who assits in a dispute unjustly deserves the anger of Allah, Most High

حَدَّثَنَا عَلِيُّ بْنُ الْحُسَيْنِ بْنِ إِبْرَاهِيمَ، حَدَّثَنَا عُمَرُ بْنُ يُونُسَ، حَدَّثَنَا عَاصِمُ بْنُ مُحَمَّدِ بْنِ زَيْدٍ الْعُمَرِيُّ، حَدَّثَنِي الْمُثَنَّى بْنُ يَزِيدَ، عَنْ مَطَرٍ الْوَرَّاقِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِمَعْنَاهُ قَالَ ‏ "‏ وَمَنْ أَعَانَ عَلَى خُصُومَةٍ بِظُلْمٍ فَقَدْ بَاءَ بِغَضَبٍ مِنَ اللَّهِ عَزَّ وَجَلَّ ‏"‏ ‏.‏

English translation, translator not named, from an open hadith text collection

Book 25: The Office of the Judge (Kitab Al-Aqdiyah)

10 of 10 left today