Hadith on Tyranny: Hating oppression of Muslim tyrants, but not rebelling

Umm Salamah reported: The Messenger of Allah, peace and blessings be upon him, said, “There will be rulers from whom you will see both goodness and corruption. One who recognizes their evil and hates it will maintain his innocence, but one who is pleased with it and follows them will be sinful.” It was said, “Shall we not fight them?” The Prophet said, “No, as long as they pray.”

Source: Ṣaḥīḥ Muslim 1854

Grade: Sahih (authentic) according to Muslim

عَنْ أُمِّ سَلَمَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ سَتَكُونُ أُمَرَاءُ فَتَعْرِفُونَ وَتُنْكِرُونَ فَمَنْ عَرَفَ بَرِئَ وَمَنْ أَنْكَرَ سَلِمَ وَلَكِنْ مَنْ رَضِيَ وَتَابَعَ قَالُوا أَفَلَا نُقَاتِلُهُمْ قَالَ لَا مَا صَلَّوْا

1854 صحيح مسلم كتاب الإمارة باب وجوب الإنكار على الأمراء فيما يخالف الشرع وترك قتالهم ما صلوا ونحو ذلك