سنن ابي داود Sunan Abi Dawud كتاب الأقضية The Office of the Judge (Kitab Al-Aqdiyah)
باب فِيمَنْ يُعِينُ عَلَى خُصُومَةٍ مِنْ غَيْرِ أَنْ يَعْلَمَ أَمْرَهَا

Chapter: Regarding a man who helps someone in a dispute without knowing about the case.

2 hadith
Hadith 3597
حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ ، حَدَّثَنَا زُهَيْرٌ ، حَدَّثَنَا عُمَارَةَ بْنِ غَزِيَّةَ ، عَنْ يَحْيَى بْنِ رَاشِدٍ ، قَالَ : جَلَسْنَا لِعَبْدِ اللَّهِ بْنِ عُمَرَ ، فَخَرَجَ إِلَيْنَا فَجَلَسَ ،فَقَالَ : سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، يَقُولُ : " مَنْ حَالَتْ شَفَاعَتُهُ دُونَ حَدٍّ مِنْ حُدُودِ اللَّهِ فَقَدْ ضَادَّ اللَّهَ ، وَمَنْ خَاصَمَ فِي بَاطِلٍ وَهُوَ يَعْلَمُهُ لَمْ يَزَلْ فِي سَخَطِ اللَّهِ حَتَّى يَنْزِعَ عَنْهُ ، وَمَنْ قَالَ فِي مُؤْمِنٍ مَا لَيْسَ فِيهِ أَسْكَنَهُ اللَّهُ رَدْغَةَ الْخَبَالِ ، حَتَّى يَخْرُجَ مِمَّا قَالَ " .
Yahya ibn Rashid said: We were sitting waiting for Abdullah ibn Umar who came out to us and sat. He then said: I heard the Messenger of Allah ﷺ as saying: If anyone's intercession intervenes as an obstacle to one of the punishments prescribed by Allah, he has opposed Allah; if anyone disputes knowingly about something which is false, he remains in the displeasure of Allah till he desists, and if anyone makes an untruthful accusation against a Muslim, he will be made by Allah to dwell in the corrupt fluid flowing from the inhabitants of Hell till he retracts his statement.
Hadith Reference Sunan Abi Dawud / The Office of the Judge (Kitab Al-Aqdiyah) / Hadith: 3597
Hadith Grading الألبانی: صحيح  |  زبیر علی زئی: إسناده صحيح, مشكوة المصابيح (3611)
Hadith Takhrij « تفرد بہ أبوداود، (تحفة الأشراف: 8562)، وقد أخرجہ: سلسلة الاحادیث الصحیحہ، للالبانی (437)، مسند احمد (2/70، 82، 2/70) (صحیح) »
Hadith 3598
حَدَّثَنَا عَلِيُّ بْنُ الْحُسَيْنِ بْنِ إِبْرَاهِيمَ ، حَدَّثَنَا عُمَرُ بْنُ يُونُسَ ، حَدَّثَنَا عَاصِمُ بْنُ مُحَمَّدِ بْنِ زَيْدٍ الْعُمَرِيُّ ، حَدَّثَنِي الْمُثَنَّى بْنُ يَزِيدٍ ، عَنْ مَطَرٍ الْوَرَّاقِ ، عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِمَعْنَاهُ ، قَالَ : وَمَنْ أَعَانَ عَلَى خُصُومَةٍ بِظُلْمٍ ، فَقَدْ بَاءَ بِغَضَبٍ مِنَ اللَّهِ عَزَّ وَجَلَّ .
The tradition mentioned above has also been transmitted by Ibn Umar from the Prophet ﷺ 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.
Hadith Reference Sunan Abi Dawud / The Office of the Judge (Kitab Al-Aqdiyah) / Hadith: 3598
Hadith Grading الألبانی: ضعيف  |  زبیر علی زئی: حسن, أخرجه ابن ماجه (2320 وسنده حسن) والحديث السابق (3597) شاھد له
Hadith Takhrij « سنن ابن ماجہ/الأحکام 6 (2320)، (تحفة الأشراف: 8445) (حسن) » (اس کے راوی مثنیٰ مجہول، اور مطر ضعیف ہیں ، لیکن حدیث متابعات کی وجہ سے حسن ہے، الإرواء 7/350، سلسلة الاحادیث الصحیحہ، للالبانی 437، 1021)