Sahih Muslim Book 020, Hadith Number 4554.
Chapter : Instruction to stick to the main body of the Muslims in the time of trials and warning against those inviting people to disbelief.
It his been narrated through a different chain of transmitters, on the authority of Hudhaifa b. al-Yaman who said: Messenger of Allah, no doubt, we had an evil time (i.e. the days of Jahiliyya or ignorance) and God brought us a good time (i.e. Islamic period) through which we are now living Will there be a bad time after this good time? He (the Holy Prophet) said: Yes. I said: Will there be a good time after this bad time? He said: Yes. I said: Will there be a bad time after good time? He said: Yes. I said: How? Whereupon he said: There will be leaders who will not be led by my guidance and who will not adopt my ways? There will be among them men who will have the hearts of devils in the bodies of human beings. I said: What should I do. Messenger of Allah, if I (happen) to live in that time? He replied: You will listen to the Amir and carry out his orders; even if your back is flogged and your wealth is snatched, you should listen and obey.