It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Soon after me there will be caliphs who will act according to their knowledge and will do what they have been commanded. Then after them there will be caliphs who will act on what they do not know and will do what they have not been commanded. So whoever objects to them (to their wrong deeds) is free of blame, and whoever holds back his hand is safe; but (ruin and sin are for) the one who shows approval of their deeds and follows them." Imam Ibn Hibban has also narrated this hadith in his Sahih with various chains through Imam al-Awza'i.