If your ruler is just, then praise God; but if he is unjust, pray to God to rid you of him.
Context: He was in many ways centuries ahead of his time with constructive ideas for any people and age. However, this was one of the exceptions. Unfortunately it became the norm for most Islamic countries even to modern times. Essentially, a bad ruler in this Islamic doctrine can be removed only if he does not follow Islam. For just being unjust or incompetent, revolution is not allowed and prayer is the only recourse. That is one of the major reasons that there have been so few Arab uprisings and revolutions although there have been many assassinations for alleged religious apostasy or insufficiency.
Umar ibn al-Khattab, ~ 581-644, Umar I, 2nd Islamic Caliph & Companion to The Prophet, Instructions regarding unjust rulers
Sourced by: Eigen's Political and Historical Quotations