The Qur'an and authentic hadith affirm that Allah is angry (ghadab) with those who persist in disbelief, injustice and transgression, and Muslims are taught to seek refuge from His anger and to seek His pleasure.
- The Salaf and Athari scholars affirm the attribute as befitting Allah and unlike human anger, without describing how, since 'there is nothing like Him' (42:11).
- Many Ash'ari and Maturidi scholars interpret it as His will to punish, or as the punishment itself, to avoid ascribing human emotion to Him.
- Allah's anger is never arbitrary or out of loss of control: it is tied to His justice and follows wrongdoing, and the Prophet (saw) taught that His mercy prevails over His wrath (Sahih al-Bukhari and Sahih Muslim).
- The believer is taught to take the warning, repent, and hope in the mercy that Allah has promised.
Introduction
The question appears to arise from the apparent contrast between a God who is described as Most Merciful and the repeated mention of divine anger, and from the worry that anger is a human emotion that suggests weakness. The Islamic scholars discussed the question from the earliest period. Their answers show both what is affirmed from the texts and how it is understood.
A fair answer needs three steps: to look at what the texts say, to set out the two main ways scholars have understood them, and to explain how this attribute relates to mercy and justice.
What the texts say
The Qur'an mentions Allah's anger in many places. In every prayer Muslims recite Surah al-Fatiha and ask to be guided to the path of those on whom He has bestowed favour, 'not of those who have incurred wrath, nor of those who are astray' (1:6 to 7). Allah says of the one who kills a believer deliberately that 'Allah has become angry with him and has cursed him' (4:93). Other verses include 20:81, 48:6 and 60:13. In each case, anger is connected with a cause: disbelief after clear proof, murder, oppression, or turning away from guidance.
In the hadith of intercession in Sahih al-Bukhari and Sahih Muslim, the people on the Day of Resurrection go from prophet to prophet, and each says: 'My Lord is angry today as He has never been angry before and will never be angry afterwards.' In a supplication of the Prophet (saw) in Sahih Muslim, in the Book of Prayer, he said while prostrating: 'I seek refuge in Your pleasure from Your anger.' Also in Sahih al-Bukhari and Sahih Muslim, he said that when Allah decreed the creation, He wrote in a book that is with Him above the Throne: 'My mercy prevails over My wrath.'
The view of the Salaf and the Atharis
The early generations and the Athari scholars, among them Ahmad ibn Hanbal, al-Tahawi, Ibn Taymiyya and in modern times Ibn 'Uthaymin, affirm anger as a real attribute, a quality of action (sifa fi'liyya) that happens in relation to events, as Allah wills. They say that this is what the words mean in Arabic, and that to remove the meaning would be to deny what Allah says about Himself. At the same time they say that it is not like the anger of a human being. In humans anger comes with a rush of blood, a loss of balance, or a reaction to harm that has been suffered. None of this applies to Allah, who cannot be harmed, as in the hadith qudsi in Sahih Muslim: 'O My servants, you will not reach harming Me so as to harm Me, and you will not reach benefiting Me so as to benefit Me.'
Their rule is that of Imam Malik regarding the Throne: the meaning is known, the manner is unknown, believing in it is obligatory and asking about it is an innovation. Ibn Taymiyya in al-Aqida al-Wasitiyya says that Ahl al-Sunna affirm what Allah and His Messenger (saw) affirmed of anger, pleasure, love and hatred, without distortion or denial and without asking how or making a comparison.
The view of the Ash'ari and Maturidi scholars
Scholars of the Ash'ari and Maturidi schools, such as al-Ghazali, al-Razi, al-Baydawi and al-Nawawi, held that anger in the human sense is a change in the person and so cannot be ascribed to Allah, who is above change. They interpreted anger (ghadab) in one of two ways. Some said it means the will to take vengeance on the wrongdoer (irada al-intiqam), and others said it means the punishment itself, the result of anger and not the feeling. Al-Razi, in his Tafsir of Surah al-Fatiha, says that the anger of Allah is His will to punish, since in people it is the reaction that comes with the desire to harm.
Some earlier Ash'ari scholars and also al-Nawawi in some places adopted tafwid, affirming the words and leaving the meaning to Allah. The disagreement is real, as the Atharis criticise ta'wil as removing a text from its apparent meaning, and the Ash'aris see affirming the meaning as risking likeness to creation. Yet both sides agree that Allah is not like creation and that His anger is just, so they agree in the result, if not in method.
Anger and mercy
A common misunderstanding treats anger and mercy as rivals. The scholars explain that anger in Islam is the response of justice to wrongdoing, and does not contradict mercy, because the hadith states that mercy has priority. The Qur'an says: 'My mercy encompasses all things' (7:156), and 'Say: O My servants who have transgressed against themselves, do not despair of the mercy of Allah' (39:53). Anger is attached to those who persist, and it is removed by repentance, as the hadith shows that Allah is more pleased by the repentance of His servant than a man who finds his lost mount in the desert (Sahih al-Bukhari and Sahih Muslim). The Qur'an says: 'Whoever repents and believes and does righteous deeds, then I am Forgiving to them' (20:82), straight after the mention of anger in 20:81.
Anger is also shown to be linked to the rights of others. In the hadith qudsi of Abu Dharr (ra) in Sahih Muslim, Allah says that He has forbidden injustice for Himself and made it forbidden among people, which is why the anger of Allah is stressed most in verses about the oppression of the weak, the killing of the innocent and the arrogant rejection of the truth. A reader who asks how a merciful God can be angry may therefore ask in turn how a just God could be indifferent to cruelty. The practical lessons are to avoid what brings anger, which are injustice, arrogance, and denying guidance, to ask for forgiveness, and to hope for His pleasure. Ibn al-Qayyim, in Madarij al-Salikin, describes how fear and hope are the two wings of the believer, and that fear of Allah's anger without hope leads to despair, while hope without fear leads to complacency.
Conclusion
When Allah says He is angry, Muslims take it as true and unlike any human emotion, and as the response of perfect justice to deliberate wrongdoing. The Atharis affirm the attribute without how and the Ash'aris and Maturidis interpret it as the will to punish or the punishment, and both reject a picture of a God who loses control. The Qur'an and hadith make clear that mercy comes before wrath and that repentance is always open.
The believer therefore asks for His pleasure and refuge from His anger, as the Prophet (saw) taught.
References
Qur'an 1:6 to 7, 4:93, 7:156, 20:81 to 82, 39:53, 42:11, 48:6, 60:13
Sahih al-Bukhari: Book of Tawhid; Book of Tafsir (the hadith of intercession). Sahih Muslim: Book of Prayer; Book of Righteousness (the hadith qudsi on harming Allah); Book of Repentance
Ibn Taymiyya, al-Aqida al-Wasitiyya; al-Tahawi, al-Aqida al-Tahawiyya; Fakhr al-Din al-Razi, al-Tafsir al-Kabir; Ibn al-Qayyim, Madarij al-Salikin