حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلاَّلُ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا هِشَامُ بْنُ حَسَّانَ، عَنِ الْحَسَنِ، عَنْ ضَبَّةَ بْنِ مِحْصَنٍ، عَنْ أُمِّ سَلَمَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ إِنَّهُ سَيَكُونُ عَلَيْكُمْ أَئِمَّةٌ تَعْرِفُونَ وَتُنْكِرُونَ فَمَنْ أَنْكَرَ فَقَدْ بَرِئَ وَمَنْ كَرِهَ فَقَدْ سَلِمَ وَلَكِنْ مَنْ رَضِيَ وَتَابَعَ ‏"‏ ‏.‏ فَقِيلَ يَا رَسُولَ اللَّهِ أَفَلاَ نُقَاتِلُهُمْ قَالَ ‏"‏ لاَ مَا صَلَّوْا ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

Umm Salamah narrated that the Prophet(s.a.w) said: "Indeed there shall come upon you A'immah whom you like (what they do) and some (of what they do) you dislike. So whoever rejects, then he is innocent, and whoever loathes, then he is safe. But whoever is pleased and follows." It was said: "O Messenger of Allah! Shall we fight them?" He said: "No, as long as they offer Salat." Translation Not Available

Book Ref: Jamiya Tirmidhi Book 33 Hadith 2265
Web Ref:  Jamiya Tirmidhi Vol 4 Book 7 Hadith 2265