Key Islamic resources for mental wellbeing:
• Quran 13:28: "Verily in the remembrance of Allah do hearts find rest"
• Quran 94:5-6: "With hardship comes ease" (repeated twice for emphasis)
• Quran 2:155-157: The promise to those who are patient in adversity
• Dua of distress (Bukhari 6369): Allahumma inni a'udhu bika minal-hammi wal-hazan
• Prophetic command: "Seek treatment, for Allah has not created a disease without a cure" (Bukhari 5678)
• Sujood: "The closest a servant is to his Lord is in sujood" (Muslim 482)
When Allah revealed Surah Ad-Duha, it was in response to a period of silence in revelation that left the Prophet ﷺ distressed. The opening verses are a direct address to his grief: "Your Lord has not forsaken you, nor is He displeased with you. And the Hereafter is better for you than the first. And your Lord is going to give you, and you will be satisfied." (Quran 93:3-5)
This is the Quran speaking directly to a heart in pain. Not with platitudes, but with specific reassurance, a reminder of perspective, and a promise. The same Quran that commands salah and zakat contains extended passages about grief, fear, despair, and how to face them. Mental and emotional suffering is not foreign to the Islamic tradition; it is addressed within it.
- Islam's holistic view of the human being
- Salah and mental health
- Dhikr as a form of inner healing
- Duas for anxiety, grief, and distress
- What the Quran says about hardship
- Sabr and gratitude as Islamic tools
- Seeking professional help: the Islamic view
- Addressing the stigma in Muslim communities
- The jama'ah as a mental health resource
- FAQ
Islam's holistic view of the human being
Islamic scholars historically used four Arabic terms to describe the dimensions of the human being: the nafs (soul or self), the ruh (spirit), the aql (intellect or reason), and the jasad (body). These are not entirely separate compartments; they are interwoven aspects of one person. What affects the body can affect the soul, and what afflicts the soul manifests in the body.
The Prophet ﷺ recognized this integration throughout his teachings. He spoke of the heart (qalb) as the center of a person's moral and spiritual condition: "Verily in the body there is a piece of flesh; if it is sound, the whole body is sound, and if it is corrupt, the whole body is corrupt. Verily it is the heart." (Sahih al-Bukhari 52, Muslim 1599)
The word qalb in Arabic covers both the physical organ and the emotional-spiritual center of a person. When the Quran speaks of hearts becoming hardened (2:74), hearts finding rest (13:28), or hearts being afflicted with doubt (9:45), it is using language that the earliest Muslims understood as referring to the whole inner life of a person, not merely abstract theology.
Ibn al-Qayyim al-Jawziyyah, the fourteenth-century scholar, wrote extensively on what he called the tibb al-qulub (medicine of hearts). He identified specific spiritual diseases: grief (huzn), anxiety (hamm), envy (hasad), miserliness (bukhl), and others, and prescribed specific Quranic and prophetic remedies for each. His approach was not mystical hand-waving; it was a structured analysis of inner states and their treatments, grounded in Quran and hadith.
Salah and mental health
The five daily prayers are not only an act of worship; they are a structural intervention in the human day. Five times, every day, the Muslim is called away from work, screen, anxiety, and distraction, and directed to stand before the Creator. This rhythm is itself a form of regulation.
The Prophet ﷺ described salah as a source of coolness and comfort for his own heart: "The coolness of my eyes was placed in prayer." (Al-Nasai 3940, authenticated) This is the prophetic model: not that prayer removes problems, but that it provides a space of rest, alignment, and renewal within the pressures of life.
The physical postures of salah have a specific connection to the nervous system. Standing in attention (qiyam), bowing (ruku), and prostrating (sujood) are a sequence of physical engagement that research in psychology has linked to reduced cortisol and increased feelings of groundedness. The Prophet specifically identified sujood as the position of maximum nearness to Allah: "The closest a servant is to his Lord is when he is in sujood, so increase your du'a there." (Sahih Muslim 482)
Sujood, placing the forehead on the ground, is a posture of total surrender. Psychologically it is also one of the most powerful physical expressions of releasing control, humility, and trust. Many Muslims report that the sujood, more than any other position in prayer, is where grief and anxiety find their most natural release.
The regularity of salah also creates what psychologists call behavioral activation: the practice of engaging in structured activity even when emotional energy is low. The command to pray even when ill, even when grieving, even when traveling, ensures that the Muslim maintains contact with structure and purpose even in the lowest moments of life.
Dhikr as a form of inner healing
The verse most often cited in Islamic discussions of mental health is Quran 13:28:
"Those who have believed and whose hearts find rest in the remembrance of Allah. Verily, in the remembrance of Allah do hearts find rest." (Quran 13:28)
The Arabic word used here is tatma'inn, derived from the root ta-ma-na, which conveys deep tranquility, settledness, and calm. This is not merely a statement about spirituality; it is a prescription. Hearts find rest in dhikr. The remembrance of Allah is the medicine for the restless heart.
The classical forms of dhikr that the Prophet ﷺ taught include Subhanallah (Glory be to Allah), Alhamdulillah (All praise is due to Allah), Allahu Akbar (Allah is the Greatest), and La ilaha illallah (There is no god but Allah). These are not empty repetitions. Each phrase is a reorientation of the mind toward a specific truth about reality.
The Prophet ﷺ taught that saying "Subhanallah wa bihamdihi" one hundred times a day wipes out sins as numerous as the foam of the sea (Sahih al-Bukhari 6405), and that two phrases light on the tongue but heavy on the scale are "Subhanallah wa bihamdihi, Subhan Allah al-Azim" (Sahih al-Bukhari 6682). The practice of counting on one's fingers or on prayer beads (tasbih) provides a tactile anchor that also engages the body in the dhikr, further grounding the practitioner.
Modern research on repetitive, rhythmic activities has found that they activate the parasympathetic nervous system, reducing the physiological markers of anxiety. Dhikr, performed as the Prophet taught it, is precisely such a practice: rhythmic, repetitive, and accompanied by focused intention toward the Divine.
Duas for anxiety, grief, and distress
The Prophet ﷺ taught specific supplications that directly address the experience of emotional distress. These are among the most practically useful tools the Islamic tradition provides for mental wellbeing.
The comprehensive dua for distress (Sahih al-Bukhari 6369):
Arabic: اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ، وَالْعَجْزِ وَالْكَسَلِ، وَالْبُخْلِ وَالْجُبْنِ، وَضَلَعِ الدَّيْنِ وَغَلَبَةِ الرِّجَالِ
Transliteration: Allahumma inni a'udhu bika minal-hammi wal-hazan, wal-'ajzi wal-kasal, wal-bukhli wal-jubn, wa dhala'id-dayni wa ghalabatir-rijal
Meaning: O Allah, I seek refuge in You from worry (hamm) and grief (hazan), from incapacity and laziness, from miserliness and cowardice, and from the burden of debt and from being overpowered by people.
This single dua covers the most common forms of psychological suffering: hamm (anticipatory anxiety about the future), hazan (grief about the past or present), incapacity (the feeling that you cannot cope), laziness (the withdrawal and low energy of depression), cowardice (fear and avoidance), financial stress, and social pressure. The Prophet ﷺ taught his companions to say this regularly, not merely in crises.
The dua of Prophet Yunus (AS) in distress:
Arabic: لَا إِلَهَ إِلَّا أَنتَ سُبْحَانَكَ إِنِّي كُنتُ مِنَ الظَّالِمِينَ
Transliteration: La ilaha illa anta subhanaka inni kuntu minaz-zalimin
Meaning: There is no god but You; Glory be to You. Indeed, I have been among the wrongdoers. (Quran 21:87)
The Prophet ﷺ said that any Muslim who makes this du'a in any matter, Allah will answer them (Al-Tirmidhi 3505, classified hasan).
Dua for relief from worry and grief:
Transliteration: Allahumma rahmataka arju fala takilni ila nafsi tarfata 'ayn, wa aslih li sha'ni kullahu, la ilaha illa ant
Meaning: O Allah, it is Your mercy that I hope for, so do not leave me in charge of my affairs even for the blink of an eye; rectify for me all of my affairs. There is no god but You. (Abu Dawud 5090, authenticated)
What the Quran says about hardship
The Quran does not promise a life free of difficulty. Instead, it reframes difficulty as a context in which the believer is given ease, support, and ultimately elevation:
"For indeed, with hardship will be ease. Indeed, with hardship will be ease." (Quran 94:5-6)
The scholars of tafsir noted that this verse repeats itself. In Arabic grammar, when a definite noun (al-usr, the hardship) is repeated, it refers to the same singular hardship. When an indefinite noun (yusran, ease) is repeated, it refers to multiple instances. The classical interpretation is: one hardship, two eases. The difficulty is singular; the relief is plural.
Allah also promises in Surah Al-Baqarah the specific rewards for those who bear difficulty with patience:
"And We will surely test you with something of fear and hunger and a loss of wealth and lives and fruits, but give good tidings to the patient. Who, when disaster strikes them, say: 'Indeed we belong to Allah, and indeed to Him we will return.' Those are the ones upon whom are blessings from their Lord and mercy. And it is those who are rightly guided." (Quran 2:155-157)
This passage is significant for mental health because it names the specific experiences of fear, loss, and grief, and then addresses the person experiencing them directly: give them good tidings. The Quran does not minimize the reality of suffering. It acknowledges it, names it, and then promises a response from Allah Himself.
Sabr and gratitude as Islamic tools
Two concepts in the Islamic tradition function similarly to what cognitive behavioral therapy identifies as adaptive coping strategies: sabr (patience and endurance) and shukr (gratitude).
The Prophet ﷺ described the believer's relationship with both: "Wondrous is the affair of the believer, for all of his affairs are good, and this is not the case with anyone except the believer. If something of good comes to him, he is grateful, and that is good for him. If something of harm comes to him, he is patient, and that is good for him." (Sahih Muslim 2999)
Sabr is often mistranslated as passive resignation. In classical Islamic usage, sabr is an active state. Ibn al-Qayyim described three levels: sabr in obeying Allah, sabr in refraining from what Allah has prohibited, and sabr in accepting what Allah has decreed. The third level, relevant to mental health, is the active practice of accepting what cannot be changed while still seeking improvement in what can be changed. This is functionally identical to what modern psychology calls the serenity framework.
Shukr (gratitude) is similarly active. The Quran promises an increase for those who are grateful: "If you are grateful, I will surely increase you." (Quran 14:7) The practice of pausing to identify and express gratitude, in dhikr and in alhamdulillah, redirects cognitive attention from lack and loss toward presence and provision. Research on gratitude practices in clinical psychology consistently finds reductions in depression and anxiety symptoms. The Islamic tradition prescribed this practice fourteen centuries before the research.
Seeking professional help: the Islamic view
There is no tension in Islam between spiritual practice and professional mental health care. The prophetic command is unambiguous:
"Seek treatment, O servants of Allah, for Allah has not created a disease without creating a cure for it." (Sahih al-Bukhari 5678, Abu Dawud 3855)
This hadith was given in the context of physical medicine, but the scholars are unanimous that it extends to all illness, including psychological illness. Ibn al-Qayyim, writing in the fourteenth century, categorized medicine into three types: medicine of the body, medicine of the heart (spiritual), and medicine of both combined. He argued that the best treatment for many conditions used all three.
Seeking a therapist, counselor, or psychiatrist is seeking treatment. It is using the means (asbab) that Allah has provided. Medication for depression or anxiety, when prescribed by a qualified doctor, is as legitimate as medication for diabetes or hypertension. The brain is an organ, and its disorders are medical conditions.
When choosing a mental health professional, Muslims are encouraged to seek someone who respects their faith and does not encourage them to violate Islamic principles. However, if such a professional is not available, any qualified therapist is permissible to consult. Your wellbeing takes priority over the ideal conditions for care.
Addressing the stigma in Muslim communities
In many Muslim-majority communities and diaspora communities, there is a persistent stigma around mental health challenges. Common harmful statements include: "You just need more tawakkul (reliance on Allah)," "If you prayed more, you would not be depressed," "Mental illness is a test from shaytan, just make dua," and "What will people say?"
Each of these statements, while sometimes well-intentioned, causes real harm. They tell a suffering person that their pain is their own failure, and that seeking help is either unnecessary or shameful.
The Islamic evidence does not support this stigma. The Prophet ﷺ himself experienced grief deeply. After the death of his son Ibrahim, he wept and said: "The eyes weep, and the heart grieves, and we do not say except what pleases our Lord. Indeed, we are grieved by your departure, O Ibrahim." (Sahih al-Bukhari 1303) He cried. He named his grief. He did not suppress it in the name of faith.
The experience of grief, depression, anxiety, or trauma is not evidence of weak faith. Many of the most pious people in Islamic history endured profound suffering. Imam Ahmad ibn Hanbal was imprisoned and tortured. Ibn Taymiyyah spent years in prison. Ibn al-Qayyim experienced severe personal loss. Their suffering did not indicate a lack of faith; it was a dimension of their humanity.
The jama'ah as a mental health resource
The Prophet ﷺ said: "The believer to another believer is like a building: each part reinforces the other." (Sahih al-Bukhari 481, Muslim 2585) And: "The hand of Allah is with the jama'ah (congregation)." (Al-Tirmidhi 2166)
The communal structure of Islam, built around the five daily prayers, the Friday congregation, the Ramadan community, and the bonds of the ummah, provides one of the most powerful protective factors against mental health challenges: social connection. Isolation is one of the strongest predictors of depression and anxiety. Regular connection with a community of faith provides belonging, accountability, and support.
Practically, this means that attending the masjid regularly is not merely a religious obligation; it is also a mental health practice. The act of standing shoulder to shoulder in prayer, of seeing familiar faces, of sharing a meal after tarawih, or of sitting together for a lecture builds the social bonds that sustain mental wellbeing.
If you are struggling, tell someone you trust in your community. The Prophet ﷺ said: "Whoever relieves a believer of a distress from the distresses of this world, Allah will relieve him of a distress from the distresses of the Day of Resurrection." (Sahih Muslim 2699) Your community is meant to carry burdens with you, not watch from a distance.
FAQ
Does Islam recognize mental illness as a real condition?
Yes. Islam recognizes that the human being has a body, soul, mind, and heart, all of which can be afflicted. The Prophet ﷺ commanded seeking treatment for all illness (Sahih al-Bukhari 5678), and classical scholars like Ibn Sina wrote extensively on psychological conditions. Seeking help for mental illness is not a weakness of faith; it is following the prophetic command.
Is it un-Islamic to feel depressed or anxious?
No. The Prophets themselves experienced grief and distress. The Prophet Muhammad ﷺ wept for his deceased son Ibrahim and experienced profound grief during the Year of Sorrow. Allah revealed Surah Ad-Duha specifically in response to his distress, and Surah Ash-Sharh to remind him that with hardship comes ease (94:5-6). Feeling grief, anxiety, or sadness is a human experience the Quran addresses directly.
What is the best dua for anxiety and worry?
The most comprehensive dua for distress is from Sahih al-Bukhari 6369: "Allahumma inni a'udhu bika minal-hammi wal-hazan, wal-'ajzi wal-kasal, wal-bukhli wal-jubn, wa dhala'id-dayni wa ghalabatir-rijal" (O Allah, I seek refuge in You from worry and grief, from incapacity and laziness, from miserliness and cowardice, and from being overwhelmed by debt and people). This dua covers every major dimension of psychological distress.
Can I see a therapist or psychiatrist as a Muslim?
Yes, absolutely. The Prophet ﷺ commanded seeking treatment for all illness. Mental health professionals are part of the means Allah has made available for healing. Medication for depression or anxiety, when properly prescribed, is as legitimate as medication for any physical condition. Seek a professional who respects your faith if possible, but any qualified therapist is permissible to consult.
How does salah specifically help mental health?
Salah provides structure, rhythm, and five guaranteed breaks from life's pressures each day. The physical act of sujood is the posture of maximum nearness to Allah (Muslim 482) and has a grounding, calming effect. Regular prayer also builds purpose and accountability, which are known protective factors against anxiety and depression. The Prophet described salah as the coolness of his eyes (Al-Nasai 3940).
FivePrayer helps you pray all five prayers consistently, every day.
Precise prayer times for your location, Qibla direction, and gentle reminders. Five prayers, five moments of rest. Free, no ads, no tracking.