Umm Salama bint Abu Umaya reported,

The Prophet ﷺ said, "There will come to rule over you leaders whose actions you will recognize as right and others as wrong. Whoever rejects what is wrong is absolved, and whoever hates it is safe, but whoever is pleased with it and follows along is guilty."It was asked, "Messenger of Allah, shall we not fight them?"He replied, "No, not as long as they pray."

Tirmidhi 2265

Sahih

حدثنا الحسن بن علي الخلال حدثنا يزيد بن هارون أخبرنا هشام بن حسان عن الحسن عن ضبة بن محصن

عن أم سلمة

عن النبي ﷺ قال إنه سيكون عليكم أئمة تعرفون وتنكرون فمن أنكر فقد بريء ومن كره فقد سلم ولكن من رضي وتابع فقيل يا رسول الله أفلا نقاتلهم قال لا ما صلوا

الترمذي 2265صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tribulations
Chapter
When the surface of the earth is better than its interior, and when it is worse
Numbering
Darussalam 2265
Tirmidhi 2265