There is a narration - which I think is from Imam Sadiq (a.s.) - and it contains a qudsi narration: "I will punish any group of Muslims who follow an oppressive ruler who has not been sanctioned by God even if they are pious and do good deeds."
Akwai wani hadisi da a bisa zahiri daga wajen Imam Sadik (amincin Allah ya tabbata a gare shi) ne aka ruwaito shi wanda hadisi ne na Kudusi - yana cewa: "Lalle zan azabtar da duk wani daga cikin musulmi da ya yi biyayya ga wani ja'irin shugaba wanda ba daga wajen Allah yake ba, ko da kuwa ya kasance mai kyautatawa da tsantsaini cikin ayyukansa".