The Prophet ﷺ said, "There will come rulers whose deeds you will recognize as good and others as wrong. Whoever denounces the wrong is absolved, and whoever hates it is safe, but whoever is pleased with it and follows them is not."The companions asked, "Messenger of Allah, shall we not fight them?"He replied, "No, not as long as they perform the prayer."
قال حدثنا يحيى بن سعيد عن هشام قال حدثنا الحسن عن ضبة بن محصن
عن النبي ﷺ قال سيكون أمراء تعرفون وتنكرون فمن أنكر فقد برئ ومن كره فقد سلم ولكن من رغب وتابع قالوا يا رسول الله ألا نقاتلهم قال لا ما صلوا الصلاة