Hadith 13225

(حديث مرفوع) حَدَّثَنَا عَبْدُ الصَّمَدِ ، حَدَّثَنَا حَرْبُ بْنُ شَدَّادٍ بَصْرِيٌّ ، حَدَّثَنَا يَحْيَى يَعْنِي ابْنَ أَبِي كَثِيرٍ ، قَالَ عَمْرُو بْنُ زُنَيْبٍ الْعَنْبَرِيُّ ، أنَّ أَنَسَ بْنَ مَالِكٍ حَدَّثَهُ ، أَنَّ مُعَاذًا قَالَ : يَا رَسُولَ اللَّهِ ، أَرَأَيْتَ إِنْ كَانَ عَلَيْنَا أُمَرَاءُ لَا يَسْتَنُّونَ بِسُنَّتِكَ ، وَلَا يَأْخُذُونَ بِأَمْرِكَ ، فَمَا تَأْمُرُ فِي أَمْرِهِمْ ؟ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " لَا طَاعَةَ لِمَنْ لَمْ يُطِعْ اللَّهَ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that once Hazrat Mu'adh bin Jabal (may Allah be pleased with him) submitted in the court of the Messenger (peace and blessings be upon him): O Messenger of Allah (peace and blessings be upon him)! Please tell me, if our rulers become such people who do not act upon your Sunnah and do not act upon your command, then what do you say about them? The Prophet (peace and blessings be upon him) said: Whoever does not obey Allah should not be obeyed.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 13225
Hadith Grading حکم دارالسلام: إسناده محتمل للتحسین، عمرو بن زینب روی عنہ اثنان، وذکرہ ابن حبان فی الثقات