Muslim scholars generally hold that rulers and peoples influence each other, so a ruler is often a mirror of his people but not always, because Allah's decree, the ruler's own choices and the scholars' fidelity all play a part.
- Qur'an: verses such as 13:11 and 6:129 link the condition of a community to what its members do, while 43:54 shows a tyrant corrupting a people.
- Hadith: the popular saying "as you are, so will be your rulers" is weak, but sound reports make every ruler and every citizen a shepherd answerable for his flock.
- Scholars: al-Ghazali and Ibn Khaldun describe a two-way relationship, whereas others stress that a ruler's justice is also a test, a mercy or a punishment from Allah.
- Conclusion: the relationship is real but not a rule without exceptions; the Qur'an gives righteous rulers among corrupt peoples and corrupt rulers among righteous ones.
Introduction
The idea that the ruler is a reflection of his people is widely repeated in Muslim societies. It is often used in two opposite ways: to comfort the oppressed, who are told that their rulers are a consequence of their own conduct, and to excuse the rulers, whose faults are then attributed to the people. It is worth asking what the sources say and how the scholars have understood them.
The question is a good one because it touches several parts of Islamic teaching at once: the Qur'anic principle that Allah does not change the condition of a people until they change what is within themselves, the divine decree, the duties of rulers, the responsibility of ordinary people for enjoining good and forbidding evil, and the teaching that each soul is accountable for itself. The sections below set out the main evidence, the differing scholarly emphases and the limits of the saying.
The Qur'anic principle: condition follows conduct
The verse most often cited is in Surat al-Ra'd. Its context is the protection and the decrees of Allah over people, and its message is that He does not withdraw His favour from a community until the community alters its own state.
إِنَّ اللَّهَ لَا يُغَيِّرُ مَا بِقَوْمٍ حَتَّىٰ يُغَيِّرُوا مَا بِأَنفُسِهِمْ
"Indeed, Allah does not change the condition of a people until they change what is within themselves." (Qur'an 13:11)
Many commentators, including al-Tabari and Ibn Kathir, read this as a general rule about blessings and hardships. Al-Tabari explains that Allah does not remove ease from a people until they replace gratitude and obedience with ingratitude and disobedience. A people who lose their moral condition may therefore lose security, and a ruler who is unjust may be part of that loss.
A second verse speaks directly of rulers and the ruled in the plural. It says that Allah makes the wrongdoers allies, or rulers, of one another because of what they earn.
وَكَذَٰلِكَ نُوَلِّي بَعْضَ الظَّالِمِينَ بَعْضًا بِمَا كَانُوا يَكْسِبُونَ
"And thus We make some of the wrongdoers allies of others for what they used to earn." (Qur'an 6:129)
Some commentators, including al-Qurtubi and Ibn Kathir, report from earlier authorities that the verse has two meanings: that wrongdoers are set over wrongdoers, so that Allah makes a corrupt people be ruled by a corrupt ruler, and that jinn and humans who do wrong become close to one another. The first reading is the basis for the popular statement that the ruler is a consequence of the people's own deeds.
The hadith: a weak saying and sound principles
A saying often quoted in this connection is "as you are, so will be your rulers" (kama takunu yuwalla 'alaykum). It is narrated in al-Bayhaqi's Shu'ab al-Iman and elsewhere, but its chains are weak, and it has been graded weak by scholars such as al-Albani and others. It cannot be attributed to the Prophet (saw) with confidence, although its meaning is close to the Qur'anic verses above and is often taken as a wise statement and not as a hadith.
There are sound reports that bear on the question in other ways. In the hadith in Sahih al-Bukhari and Sahih Muslim, the Prophet (saw) said that each person is a shepherd and each is responsible for his flock: the ruler is a shepherd over his people, a man is a shepherd over his household, and a woman is a shepherd over her husband's home (Sahih al-Bukhari and Sahih Muslim, Book of Rulership). This makes the ruler answerable for the people, and the people answerable in their own spheres, and it does not say that the one is a copy of the other.
Another hadith, reported in Sahih al-Bukhari and Sahih Muslim, relates that Zaynab bint Jahsh (ra) asked the Prophet (saw) whether they would be destroyed even though righteous people were among them, and he replied that they would, when evil became abundant. The collective effect of widespread wrongdoing is thus affirmed, and the Qur'an also warns of a trial that will not strike only those who did wrong among you (8:25).
A further sound hadith says that when Allah wishes good for a ruler, He gives him an honest minister who reminds him if he forgets and helps him if he remembers, and the opposite if He wishes otherwise (Sunan Abi Dawud, Book of Rulership, graded sahih by al-Albani). This shows that the character of a ruler is shaped by those around him, though it speaks of ministers and not of the whole population.
Cases where the ruler and the people do not match
The Qur'an gives clear examples where the quality of the ruler does not match that of the people. Pharaoh was a tyrant, but the Qur'an says that a believer from his own family argued for Musa (as), and that his wife Asiya was a model of faith (66:11). Among the people of Pharaoh, many were not fully corrupt in their own convictions, but were led astray.
فَاسْتَخَفَّ قَوْمَهُ فَأَطَاعُوهُ إِنَّهُمْ كَانُوا قَوْمًا فَاسِقِينَ
"So he made light of his people, and they obeyed him. Indeed, they were a defiant people." (Qur'an 43:54)
The verse cuts both ways. Pharaoh made his people foolish or unserious by his propaganda, so he shaped them, yet the verse also holds the people responsible because they obeyed and were defiant. In the same way, righteous kings such as Dawud (as) and Sulayman (as) ruled peoples who included believers and unbelievers, and the Qur'an does not describe the people as identical to the king. The Qur'an also records the opposite case, the righteous king Dhu al-Qarnayn, who ruled over a people who could barely understand speech (18:93), and he is not described as a reflection of them.
The history of Muslim rule shows the same range. The rule of Umar ibn Abd al-Aziz (reigned 99 to 101 AH) came in the middle of an empire whose society was little different from that of the previous reigns, and many writers see his reign as showing that a single ruler can change the direction of a state. Others point out that his reforms were largely reversed after his death, which shows how much the ruler depended on his surroundings.
What the scholars said
Abu Hamid al-Ghazali, in the Ihya' 'Ulum al-Din (Book of Knowledge), says that the corruption of the people comes from the corruption of rulers, the corruption of rulers from the corruption of scholars, and the corruption of scholars from the love of wealth and position. His chain is therefore one of influence running from the learned to the ruler to the people, and he puts the main duty on the scholars. He wrote a separate advice to rulers, Nasihat al-Muluk, in which he urges rulers to be just, though scholars debate whether the work is wholly his.
Ibn Khaldun, in the Muqaddima (1377), describes how the ruled follow the ruling group in dress, customs and outlook, as the defeated tend to imitate the victor. He also argues that injustice ruins civilisation ('umran). For him the relationship runs both ways: a dynasty rises through the solidarity ('asabiyya) of its people and falls when luxury and injustice weaken it. This is a historical observation and not a ruling of the law.
Other scholars stress the other side. Some early ascetics and later writers, such as al-Hasan al-Basri, are reported to have taught that oppressive rulers are a punishment from Allah to be met with repentance and not with cursing, which suggests a link between the people's sins and their rulers. Many jurists, by contrast, taught that the people must not blame themselves for every act of a ruler, and that a ruler who commits injustice carries his own burden. They cite the verse that no bearer of burdens will bear the burden of another (6:164). Ibn Taymiyya, in his writings on governance, taught that rulership is needed for religion to be established, and that a just state may last even where its people are not fully righteous, and an unjust one may fall even if its people are Muslim.
Putting the evidence together
Taken together, the evidence supports a moderate position. First, there is a real link between the moral condition of a people and the character of those who rule them, because a corrupt people tolerate corruption, reward flattery, and choose or accept leaders like themselves. Second, the link is not a law without exceptions: Allah tests righteous peoples with unjust rulers and gives righteous rulers to weak peoples, as a mercy and as a test.
Third, the saying must not be used to silence people. A person who suffers injustice is not necessarily guilty of something that deserves it, and the duty to advise rulers, to speak what is true, and to forbid evil remains, as the Prophet (saw) taught that the best form of jihad is a word of truth before an unjust ruler (Sunan Abi Dawud and Jami' al-Tirmidhi, graded hasan by several scholars). Fourth, the saying must not be used to excuse rulers: each will give his own account for his flock.
Finally, the principle works at the level of society across time and not at the level of the individual. A particular person's fortunes are not a measure of his faith, but the conditions of a community over generations are shaped in large part by its values, institutions and conduct.
Conclusion
The statement that the ruler is a reflection of his people has support in verses such as 13:11 and 6:129 and in the observations of al-Ghazali and Ibn Khaldun, but the hadith often quoted for it is weak, and the Qur'an and the Sunnah also give cases in which rulers and peoples differ. The best reading is that rulers and peoples shape each other and that each is answerable to Allah for his own part.
References
Qur'an 6:129, 6:164, 8:25, 13:11, 18:93, 43:54, 66:11
Sahih al-Bukhari and Sahih Muslim, hadith of the shepherd (Book of Rulership) and the hadith of Zaynab bint Jahsh (ra)
Sunan Abi Dawud, Book of Rulership (the honest minister, graded sahih by al-Albani); Sunan Abi Dawud and Jami' al-Tirmidhi on the word of truth before an unjust ruler
Al-Bayhaqi, Shu'ab al-Iman (the saying "as you are, so will be your rulers", weak)
Al-Ghazali, Ihya' 'Ulum al-Din and Nasihat al-Muluk; Ibn Khaldun, al-Muqaddima (1377); al-Tabari, Ibn Kathir and al-Qurtubi, commentaries on 13:11 and 6:129