It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that Sayyiduna Mu'adh (may Allah be pleased with him) said: "O Messenger of Allah! What do you say if rulers are appointed over us who neither follow your Sunnah nor follow your command; what do you command regarding them?" The Messenger of Allah (peace and blessings be upon him) said: "There is no obedience to the one who does not obey Allah, the Mighty and Majestic."