deen2u

deen2u — your one-stop center for Islamic resources: the Holy Quran, Hadith, practices, stories of the Prophets, Q&A, and how to practice Islam.

Guidance from Quran & Sunnah

Mental Health in Islam

Grief is not a verdict on your faith. What the Quran, the Sunnah, and the practice of the salaf actually say about sadness, anxiety, depression, waswasah, self-harm — and getting help.

If you are in danger right now: if you are thinking of ending your life, or you fear for someone who is, this page is not the help you need first. Contact your local emergency number or a suicide crisis line in your country now, and do not stay alone. Then come back and read — there is mercy here for you.
Free ebook · A gift from deen2u

This whole page, in one pocket book

Sadness is not weak faith — Islam's compassionate view of mental health, and why seeking treatment is not a lack of tawakkul — an A5 guide.

  • Sadness is not weak īmān
  • The Prophet's ﷺ own duas for anxiety
  • Seeking treatment is not weak tawakkul
  • If the darkness deepens — getting help
Download the free ebook ↓ PDF · A5 · free to share

Sadness Is Not Weak Īmān

A believer who feels crushing sadness has not thereby failed at faith. The Quran itself preserves the grief of a prophet. Yaʿqūb (ʿalayhis-salām) — a man Allah chose for prophethood — lost his son Yūsuf and wept until his sight was gone. The Quran does not censure him for the grief; it records it, and records where he carried it:

Quran — Sūrat Yūsuf

"And he turned away from them, and said: "How great is my grief for Joseph!" And his eyes became white with sorrow, and he fell into silent melancholy."

Sūrat Yūsuf 12:84

Quran — Sūrat Yūsuf

"He said: "I only complain of my distraction and anguish to Allah, and I know from Allah that which ye know not..."

Sūrat Yūsuf 12:86

Years of sorrow, eyes white with weeping — and not one āyah rebukes him for it. His answer to those who told him to stop was not "I feel nothing" but "I take this to Allah." That is the believer's relationship with sadness: it is felt fully, and it is carried to the One who can lift it.

The Prophet ﷺ himself knew grief so deep that the seerah names an entire year for it — ʿĀm al-Ḥuzn, the Year of Sorrow — when he lost Khadījah and Abū Ṭālib within a short span and then met the rejection at Ṭāʾif (see the seerah timeline). And when his infant son Ibrāhīm lay dying in his arms, the best of creation wept openly:

Hadith — Ṣaḥīḥ al-Bukhārī

The eyes of Allah's Messenger (ﷺ) started shedding tears. `Abdur Rahman bin `Auf said, "O Allah's Apostle, even you are weeping!" He said, "O Ibn `Auf, this is mercy." Then he wept more and said, "The eyes are shedding tears and the heart is grieved, and we will not say except what pleases our Lord, O Ibrahim ! Indeed we are grieved by your separation."

Ṣaḥīḥ al-Bukhārī 1303Sahih

He named his own tears mercy. So the claim — sometimes made carelessly in our communities — that a sad Muslim must be a weak Muslim, or that anxiety proves a hollow heart, is not the religion. It contradicts the Quran's account of the prophets and the Prophet's ﷺ own life. What Islam does teach is that the pain itself is never wasted for the believer:

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "No fatigue, nor disease, nor sorrow, nor sadness, nor hurt, nor distress befalls a Muslim, even if it were the prick he receives from a thorn, but that Allah expiates some of his sins for that."

Ṣaḥīḥ al-Bukhārī 5641Sahih

Sorrow and sadness are named in that list explicitly. The believer who suffers them is not being cast out; something is being cleansed. For the fuller picture of how hardship sits inside a believing life, see Islam & Hardship and Ṣabr & Shukr.

What the Quran Gives the Anxious Heart

The Quran does not promise the believer a life without fear, loss, or hunger — it promises the opposite, and then teaches the heart what to say when it comes:

Quran — Sūrat al-Baqarah

"Be sure we shall test you with something of fear and hunger, some loss in goods or lives or the fruits (of your toil), but give glad tidings to those who patiently persevere, Who say, when afflicted with calamity: "To Allah We belong, and to Him is our return":-"

Sūrat al-Baqarah 2:155–156

Quran — Sūrat ar-Raʿd

"Those who believe, and whose hearts find satisfaction in the remembrance of Allah: for without doubt in the remembrance of Allah do hearts find satisfaction."

Sūrat ar-Raʿd 13:28

And to the one who feels the load is simply more than a human being can carry, Allah has given His word that it is not: "On no soul doth Allah Place a burden greater than it can bear" (Sūrat al-Baqarah 2:286), and twice in one breath: "So, verily, with every difficulty, there is relief: Verily, with every difficulty there is relief." (Sūrat ash-Sharḥ 94:5–6). The scholars of tafsīr noted the repetition: one hardship, and relief promised with it — not merely after it.

Yūnus (ʿalayhis-salām) called out from the darkness of the whale's belly — the Quran's own image of a soul at the bottom — and the answer is recorded as a standing promise:

Quran — Sūrat al-Anbiyāʾ

"But he cried through the deptHs of darkness, "There is no god but thou: glory to thee: I was indeed wrong!" So We listened to him: and delivered him from distress: and thus do We deliver those who have faith."

Sūrat al-Anbiyāʾ 21:87–88

Yaʿqūb, even blind with grief, forbade his sons despair: "never give up hope of Allah's Soothing Mercy: truly no one despairs of Allah's Soothing Mercy, except those who have no faith." (Sūrat Yūsuf 12:87). Despair of Allah is the thing warned against — not sadness. A heart can ache and hope at the same time; that is precisely the believer's condition.

The Prophet's Duʿāʾs for Anxiety and Grief

The Prophet ﷺ did not treat anxiety as an embarrassment to be hidden. He sought refuge from it by name, out loud, so often that his servant Anas memorised the words from sheer repetition:

Hadith — Sunan Abī Dāwūd

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ وَضَلْعِ الدَّيْنِ وَغَلَبَةِ الرِّجَالِ

Anas b. Malik said: I used to serve the Prophet (ﷺ) and often hear him say: "O Allah, I seek refuge in You from grief and anxiety, from the hardships of debt, and from being overpowered by men."

Sunan Abī Dāwūd 1541 — graded ṣaḥīḥ in the site's hadith repository

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) used to say, "O Allah! I seek refuge with You from worry and grief, from incapacity and laziness, from cowardice and miserliness, from being heavily in debt and from being overpowered by (other) men."

Ṣaḥīḥ al-Bukhārī 6369Sahih

Notice what stands first in that list: al-hamm wal-ḥazan — worry and grief. Before debt, before cowardice, before every outward affliction, the Sunnah teaches refuge from the inward ones. For the moment of acute distress — the tightening chest, the panic — he ﷺ had specific words:

Hadith — Ṣaḥīḥ al-Bukhārī

Allah's Messenger (ﷺ) used to say at the time of difficulty, "None has the right to be worshipped but Allah, the Majestic, the Most Forbearing. None has the right to be worshipped but Allah, the Lord of the Tremendous Throne. None has the right to be worshipped but Allah, the Lord of the Heavens and the Lord of the Honourable Throne."

Ṣaḥīḥ al-Bukhārī 7431Sahih

Hadith — Sunan Ibn Mājah

اللَّهُ اللَّهُ رَبِّي لاَ أُشْرِكُ بِهِ شَيْئًا

It was narrated that Asma' bint 'Umais said: "The Messenger of Allah (ﷺ) taught me some words to say at times of distress: Allah! Allahu Rabbi la ushriku bihi shay'an (Allah, Allah is my Lord, I do not associate anything with Him)."

Sunan Ibn Mājah 3882 — graded ṣaḥīḥ in the site's hadith repository

These are not incantations that bypass the heart; they are the heart's re-anchoring. Every phrase turns the eyes from the wave to the One who holds the sea. Keep them with the daily protections in Duas & Dhikr and the morning and evening adhkār — the Sunnah's own routine for a guarded, settled soul.

Think Well of Allah When Your Mind Argues Otherwise

Depression and anxiety do not only produce feelings; they produce statements, and they deliver them with the flat confidence of fact: you are worthless, you always were, Allah has finished with you, nothing you do will change anything. A believer needs to know that such sentences are symptoms of the illness, not verdicts from his Lord — and that the religion instructs him to hold the opposite about Allah even on days when his mind will not cooperate.

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "Allah says: 'I am just as My slave thinks I am, (i.e. I am able to do for him what he thinks I can do for him) and I am with him if He remembers Me. If he remembers Me in himself, I too, remember him in Myself; and if he remembers Me in a group of people, I remember him in a group that is better than they."

Ṣaḥīḥ al-Bukhārī 7405Sahih

Ḥusn aẓ-ẓann — thinking well of Allah — is not optimism about circumstances, and it is not a promise that the month ahead will go well. It is a belief held about Him: that He hears, that He is able, that the door has not closed. A person can be unable to feel that and still be obliged to affirm it, the way a man holds a rope in the dark because he knows it is tied at the other end. Hold that rope by tongue and habit — dhikr, istighfār, a duʿāʾ said out loud — until the feeling catches up, and if it does not catch up for a long while, keep holding it anyway.

Notice too what Allah actually condemns in this territory. It is not sorrow, and it is not tears; it is the conclusion that His mercy has run out. Ibrāhīm (ʿalayhis-salām) — old, childless, and given news that seemed impossible — answered those who thought his hope unreasonable:

Quran — Sūrat al-Ḥijr

"He said: "And who despairs of the mercy of his Lord, but such as go astray?""

Sūrat al-Ḥijr 15:56

Despair is treated as a claim about Allah, and it is the claim the believer refuses to make about Him. That is a different thing from a low mood, and it is worth separating the two carefully: a sick man may say "I cannot see a way out" without saying "Allah has no way out." The first is a report of pain. The second is what the Quran forbids.

And when worship itself has become a weight — when even standing for ṣalāh takes everything a person has — the Quran does not pretend otherwise. It says so plainly, and prescribes the two things anyway:

Quran — Sūrat al-Baqarah

"Nay, seek (Allah's) help with patient perseverance and prayer: It is indeed hard, except to those who bring a lowly spirit,-"

Sūrat al-Baqarah 2:45

"It is indeed hard" — that concession is Allah's own words, not a modern softening of the religion. The standard He set was never a heart that finds prayer effortless; it is a body that goes to prayer while the heart is heavy. On holding hope and fear together without either collapsing, see love, fear and hope; and the site's answers on coping with anxiety about the future and how Islam helps with grief and loss take the same ground in short form.

Ruqyah Is Real — and So Are Therapy and Medicine

Two errors circle this subject, and both harm the suffering. The first error says the Quran is enough and medicine is a weakness of tawakkul. The second says medicine is everything and the Quran is mere comfort. The Sunnah refutes both in a single sentence:

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "There is no disease that Allah has created, except that He also has created its treatment."

Ṣaḥīḥ al-Bukhārī 5678Sahih

No disease — the wording is general, and illnesses of the mind and mood fall inside it. Seeking their treatment is not a betrayal of trust in Allah; it is obedience to the One who created both the illness and its cure. Ruqyah — reciting the Quran and the authentic supplications over the sick — is established in the Sunnah and genuinely benefits by Allah's permission. And medicine in Islam is not ruqyah's rival but its companion: the Prophet ﷺ both recited over the sick and directed people to physical remedies, and the salaf saw no contradiction in taking both.

So a Muslim struggling with depression or an anxiety disorder does what a Muslim with a broken leg does: duʿāʾ, ruqyah, and the best treatment available — a qualified doctor, a competent therapist, medication where prescribed. When an illness is destroying a person's ability to worship, work, or care for family, seeking treatment moves from permitted toward obligatory, exactly as with bodily disease — the Sharīʿah's protection of life and intellect is among its highest aims (see medical fiqh). Prayer itself never lapses, but it bends to weakness with mercy — see the prayer of the sick — and what the body cannot do, Allah does not demand. On prescribed medication in particular, including the common worry about dependence and about fasting while treated, see the answer on whether antidepressants are permissible.

Beware of anyone — including a self-styled "raqi" — who tells a sufferer to stop prescribed psychiatric medication, or who charges ruinous fees while blaming every low mood on sorcery and the evil eye. Ruqyah according to the Sunnah uses the Quran and authentic duʿāʾs, costs the desperate nothing they cannot give, and never forbids what Allah has permitted of treatment. See the ruqyah guide for what is legislated and what is not.

Depression Is an Illness, Not a Punishment Verdict

When a believer is tested with a dark and heavy mind, whispers arrive: Allah must hate you. This is punishment. If your īmān were real, you would feel joy. Set against those whispers what the Prophet ﷺ actually said about affliction:

Hadith — Ṣaḥīḥ al-Bukhārī

Allah's Messenger (ﷺ) said, "If Allah wants to do good to somebody, He afflicts him with trials."

Ṣaḥīḥ al-Bukhārī 5645Sahih

Trial is not proof of wrath; the hadith states the reverse. A person's worth with Allah is not measured by the brightness of their mood but by their striving through whatever He decreed for them — and the decree itself is no dishonour (see Qadar). The one who drags through fog to pray two rakʿahs may be dearer to Allah than one who prays with ease, for the first carried a weight to get there.

Hadith — Ṣaḥīḥ Muslim

Abu Huraira reported Allah's Messenger (ﷺ) as saying: A strong believer is better and is more lovable to Allah than a weak believer, and there is good in everyone, (but) cherish that which gives you benefit (in the Hereafter) and seek help from Allah and do not lose heart.

Ṣaḥīḥ Muslim — site reader no. 6609

Read that hadith whole: it commands taking the means and seeking Allah's help, forbids losing heart — and in the same breath affirms "there is good in everyone." The weak believer is not discarded. Strength here is a direction to strive in, not an entry requirement. And the believer's condition, even in trouble, is never a dead loss:

Hadith — Ṣaḥīḥ Muslim

Strange are the ways of a believer for there is good in every affair of his and this is not the case with anyone else except in the case of a believer for if he has an occasion to feel delight, he thanks (God), thus there is a good for him in it, and if he gets into trouble and shows resignation (and endures it patiently), there is a good for him in it.

Ṣaḥīḥ Muslim — site reader no. 7314

One caution for fairness: the reverse claim — that every depression is purely medical and the soul has nothing to do with it — is also too simple. Sins darken the heart, and tawbah lightens it (see Tawbah); neglected prayer and dhikr leave a soul exposed. The sober position is both/and: tend the soul with worship and repentance, tend the mind with legitimate treatment, and let neither claim to replace the other.

Waswasah and the Doubt That Will Not Settle

Waswasah is the intrusive whisper: the thought that arrives uninvited, contradicts what a person believes, and horrifies him precisely because he believes the opposite. Blasphemous words appearing in the mind during prayer. A sudden image of harming someone loved. The certainty, minutes after washing, that the wuḍūʾ was somehow invalid. Muslims carry this in silence for years, convinced that a mind capable of producing such thoughts must be corrupt. The Sunnah's own handling of it is startlingly calm. The companions came to the Prophet ﷺ in exactly that distress:

Hadith — Sunan Abī Dāwūd

Abu Hurairah said; His companion came to him and said; Messenger of Allah! We have thoughts which we cannot dare talk about and we do not like that we have them or talk about them. He said: Have you experienced that? They replied: yes. He said : that is clear faith

Sunan Abī Dāwūd 5111 — graded ṣaḥīḥ in the site's hadith repository

Read that answer slowly, because it reverses the sufferer's whole assumption. The very fact that the thought appalled them was the proof of their faith — a heart indifferent to Allah is not tormented by an insult to Him. The thought was the enemy's; the horror was theirs. And what a person does not choose is not written against him:

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "Allah has forgiven my followers the evil thoughts that occur to their minds, as long as such thoughts are not put into action or uttered."

Ṣaḥīḥ al-Bukhārī 5269Sahih

The prescribed response is equally striking: do not argue with it. When the whisper reaches its most outrageous form — questioning the Creator Himself — the Prophet ﷺ did not tell the believer to defeat it in debate but to break off the engagement:

Hadith — Ṣaḥīḥ Muslim

The Satan comes to everyone. of you and says: Who created this and that? till he questions: Who created your Lord? When he comes to that, one should seek refuge in Allah and keep away (from such idle thoughts).

Ṣaḥīḥ Muslim — site reader no. 252

Say aʿūdhu billāhi min ash-shayṭān ir-rajīm, and then turn to something else. That instruction — refuse the argument, refuse the investigation, move — is the exact opposite of what a doubting mind wants to do, and it is the treatment. Every re-examination feeds the loop; disengaging starves it. The same principle was applied to ritual purity, where waswasah does most of its damage in practice — a man complained of the doubt that something had broken his ablution, and the answer set a physical threshold in place of an anxious one:

Hadith — Ṣaḥīḥ al-Bukhārī

My uncle asked Allah's Messenger (ﷺ) about a person who imagined to have passed wind during the prayer. Allah's Apostle replied: "He should not leave his prayers unless he hears sound or smells something."

Ṣaḥīḥ al-Bukhārī 137Sahih

From this the jurists derived a rule that has rescued a great many exhausted worshippers: certainty is not lifted by doubt. If you know you made wuḍūʾ and merely suspect it broke, you are in wuḍūʾ. If you washed a garment and merely suspect a splash, it is clean. You do not repeat, you do not investigate, you do not scrub again — and the scholars went further, holding that for the person afflicted with waswasah, deliberately ignoring the doubt is itself the act of obedience, because it is a refusal to let the whisperer legislate. The site's page on chronic wuḍūʾ excuses works through the fiqh of the person genuinely unable to hold purity, and the answer on waswās and doubts about ritual purity gives the short version; for doubt about how many rakʿahs were prayed, the Sunnah's own remedy is sujūd as-sahw, performed once and then left alone.

Now the distinction this page exists to make. Ordinary waswasah is a passing whisper answered by istiʿādhah and dismissal. But there is a condition — clinicians call it obsessive-compulsive disorder — in which the loop no longer responds to dismissal at all: an hour lost to a single wuḍūʾ, ghusl repeated until the skin is raw, a prayer restarted six times over a suspected slip in the Fātiḥah, hands washed past bleeding, a mind checking the same fear a hundred times a day and finding no rest anywhere in it. That is no longer only a spiritual nudge to be shrugged off; it is an illness of the mind, and it has effective treatments, and a Muslim is entitled to them exactly as he is entitled to a splint for a fracture.

A sufferer usually needs both, and each without the other tends to fail. The fiqh side: act on certainty, never repeat an act of purification for a doubt, and take the ruling from one qualified teacher rather than collecting opinions — collecting is itself a compulsion. The clinical side: a competent practitioner, and the discipline of resisting the compulsion rather than performing it. Telling such a person merely to "have more īmān" has never cured a single case, and it adds guilt to an illness that already runs on guilt.

When Worship Itself Feels Heavy

One of the cruellest features of depression is what it does to a believer's practice. The prayer that was once rest becomes a mountain; the Quran that was once light will not go in; the masjid feels impossible; and then the guilt arrives on top of the illness and presses down harder than the illness did. Two things need saying, and they need saying together. The obligations of Islam do not evaporate because a person is ill — and the religion was built, from the beginning, with human weakness accounted for:

Hadith — Sunan an-Nasāʾī

The Messenger of Allah said: 'Indeed, this religion is easy, and no one will ever overburden himself in religion, except that it will overcome him. So seek what is appropriate, and come as close as you can, and receive the glad tidings (that you will be rewarded), and take it easy; and gain strength by worshipping in the mornings, afternoons, and during the last hours of the nights

Sunan an-Nasāʾī 5034 — graded ṣaḥīḥ in the site's hadith repository

So the counsel for a bad season is not heroism; it is the minimum, kept. Pray the five, even short, even sitting, even at the last permitted minute. Let the voluntary prayers and the long recitation wait for a better month; they are voluntary for a reason. Keep one small dhikr you can do lying down. A believer who prays five brief prayers through a black winter has not failed at worship — he has done the harder version of it. If prayers are being missed outright, do not let shame turn one missed prayer into a hundred; see making up missed prayers, and start again tonight.

The Sunnah even instructs the worshipper to stop when his state makes worship worthless, which should end forever the idea that pushing through is always the pious option:

Hadith — Ṣaḥīḥ al-Bukhārī

Allah's Messenger (ﷺ) said, "If anyone of you feels drowsy while praying he should go to bed (sleep) till his slumber is over because in praying while drowsy one does not know whether one is asking for forgiveness or for a bad thing for oneself."

Ṣaḥīḥ al-Bukhārī 212Sahih

Sleep is not the enemy of night prayer here; it is its condition. And the body's claim on you is not a concession wrung out of the religion but a right the Prophet ﷺ named as a right, to a companion whose fault was excess in worship, not laziness:

Hadith — Ṣaḥīḥ al-Bukhārī

Allah's Messenger (ﷺ) said, "O `Abdullah! Have I not been formed that you fast all the day and stand in prayer all night?" I said, "Yes, O Allah's Messenger (ﷺ)!" He said, "Do not do that! Observe the fast sometimes and also leave them (the fast) at other times; stand up for the prayer at night and also sleep at night. Your body has a right over you, your eyes have a right over you and your wife has a right over you."

Ṣaḥīḥ al-Bukhārī 5199Sahih

Sleep, food, daylight, movement, and the company of people are not distractions from the deen; the Prophet ﷺ ordered a man to keep them. In an illness that attacks sleep and appetite first, guarding them is a religious act. Keep the adab of sleep and the adhkār before sleeping — a settled routine at the end of the day is worth more to a struggling mind than one more hour awake with it.

There is also a boundary case the fuqahāʾ dealt with long ago. Where a person genuinely loses the use of their reason, obligation itself lifts for that period:

Hadith — Sunan an-Nasāʾī

The pen has been lifted from three: From the sleeper until he wakes up, from the minor until he grows up, and from the insane until he comes back to his senses or recovers

Sunan an-Nasāʾī 3432 — graded ṣaḥīḥ in the site's hadith repository

This is a mercy, and it must be handled with care in both directions. It is not a licence: ordinary low mood, anxiety, or exhaustion does not remove accountability, and treating every hard week as a lifted pen would empty the religion of practice. But where a person is in the grip of psychosis, mania, or a state that has genuinely taken their reason away, they are not sinning by what happens in it, and the family should carry the practice for them until they return — not shame them for what they could not control. For worship under illness generally, its concessions and its postures, see the prayer of the sick; on the quality of a distracted prayer rather than its validity, see khushūʿ.

Suicide: The Hard Prohibition — Held with Mercy

Here the religion speaks with two voices at once, and both must be heard together: an uncompromising prohibition, and a mercy wider than the sin. To blunt either one is to misrepresent Islam. Allah says: "Nor kill (or destroy) yourselves: for verily Allah hath been to you Most Merciful!" (Sūrat an-Nisāʾ 4:29) — and notice that even the verse of prohibition ends with His mercy. The Prophet ﷺ warned in the severest terms:

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "Whoever purposely throws himself from a mountain and kills himself, will be in the (Hell) Fire falling down into it and abiding therein perpetually forever; and whoever drinks poison and kills himself with it, he will be carrying his poison in his hand and drinking it in the (Hell) Fire wherein he will abide eternally forever; and whoever kills himself with an iron weapon, will be carrying that weapon in his hand and stabbing his `Abdomen with it in the (Hell) Fire wherein he will abide eternally forever."

Ṣaḥīḥ al-Bukhārī 5778Sahih

This is the deterrent, and it is meant to be feared: the life Allah gave is His trust, and no pain licenses destroying it. Whoever is tempted must know the door is shut, bolted, and guarded — and must reach for help instead, as the opening notice on this page says plainly.

And yet the same Sunnah records how Allah dealt with a Muslim who did this very thing. A companion of Ṭufayl ibn ʿAmr migrated to Madinah, fell ill, despaired, and cut his own finger-joints until he bled to death:

Hadith — Ṣaḥīḥ Muslim

Tufail son of Amr saw him in a dream. His state was good and he saw him with his hands wrapped. He (Tufail) said to him: What treatment did your Allah accord to you? He replied. Allah granted me pardon for my migration to the Apostle (ﷺ): He (Tufail) again said: What is this that I see you wrapping up your hands? He replied: I was told (by Allah): We would not set right anything of yours which you damaged yourself. Tufail narrated this (dream) to the Messenger of Allah (ﷺ). Upon this he prayed: O Allah I grant pardon even to his hands.

Ṣaḥīḥ Muslim — site reader no. 218

Hold what this narration establishes. The man died by his own hand — and Allah pardoned him for the sake of his hijrah, punishing only the hands, and the Prophet ﷺ then prayed that even the hands be forgiven. The scholars of ahl as-sunnah take from texts like this that a Muslim who takes his own life has committed an enormity, but has not left Islam by it: he remains under Allah's will — punished as Allah wills, forgiven as Allah wills — and the threat-texts and mercy-texts are held together, not traded against each other. The severe wordings ("perpetually forever") the scholars explained as applying to one who deems the forbidden lawful, or as a duration whose reality is with Allah — while this ṣaḥīḥ narration proves that such a person can be shown mercy and prayed for.

For the family left behind: the deceased is washed, shrouded, and prayed over by the community like any Muslim (see Janazah); duʿāʾ and istighfār for them are made, not withheld; and no one — not the family, and certainly not the community — may pronounce the verdict of the Hereafter on them, for that belongs to Allah alone. The grief of such a family is already a mountain; adding condemnation to it has no basis in the Sunnah of the one ﷺ who prayed pardon "even for his hands." Say of Allah what He said of Himself: "Despair not of the Mercy of Allah: for Allah forgives all sins: for He is Oft-Forgiving, Most Merciful." (Sūrat az-Zumar 39:53).

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet said to us, "Do you think that this lady can throw her son in the fire?" We replied, "No, if she has the power not to throw it (in the fire)." The Prophet (ﷺ) then said, "Allah is more merciful to His slaves than this lady to her son."

Ṣaḥīḥ al-Bukhārī 5999Sahih

Self-Harm, and the Body Held in Trust

Cutting, burning, hitting oneself, deliberately going without food or sleep as punishment — these are more common among Muslims, including young Muslims, than our gatherings admit, and they are almost never about wanting to die. They are usually an attempt to make an unbearable inner state briefly bearable. The ruling and the pastoral response both have to be said, in that order, and neither may be dropped.

The ruling is that a person's body is not his own property to damage. It is an amānah, a trust handed over for a term, and the general principle the Prophet ﷺ laid down covers harm done to oneself as surely as harm done to another:

Hadith — Sunan Ibn Mājah

There should be neither harming nor reciprocating harm.

Sunan Ibn Mājah 2340 — graded ṣaḥīḥ in the site's hadith repository

Allah's own words in the same territory are "Nor kill (or destroy) yourselves: for verily Allah hath been to you Most Merciful!" (Sūrat an-Nisāʾ 4:29), and the scholars read the verse as forbidding the whole range of self-destruction, not only its final act. So self-injury is unlawful, and a Muslim doing it should stop and repent as he would from any other sin — see Tawbah and the answer on the prohibition of self-harm in Islam.

Now the pastoral part, which is where most communities fail. A person who harms himself is not helped by being told he is sinning; he usually knows, and the knowledge is often part of the cycle that produces the next episode. What helps is telling someone — a doctor, a counsellor, a trusted adult — today rather than eventually, removing the means, and treating the underlying condition rather than the symptom. And the reflex to add religious punishment to oneself, by way of atonement, must be named for what it is: not tawbah, but the same illness wearing a prayer cap. Tawbah is regret, stopping, and resolve — it is not self-injury with a niyyah attached.

If what has arrived is the wish to be gone altogether, without a plan — I want this to stop, I want to not wake up — the Sunnah does not meet it with a rebuke and a closed door. It hands the sufferer words to say:

Hadith — Ṣaḥīḥ al-Bukhārī

The Prophet (ﷺ) said, "None of you should wish for death because of a calamity befalling him; but if he has to wish for death, he should say: "O Allah! Keep me alive as long as life is better for me, and let me die if death is better for me."

Ṣaḥīḥ al-Bukhārī 5671Sahih

Look at the mercy in the construction. The wish is discouraged, because a believer's remaining days are opportunity — but the man who cannot help feeling it is not left with nothing. He is given a duʿāʾ that hands the whole question back to Allah, and in saying it he stays alive and stays in the hands of the One who decides. That is a lifeline offered inside a prohibition, and it is the Sunnah's own way with a person at the end of his strength. Take that duʿāʾ, tell a human being today, and get to treatment — and read the section above on suicide together with the answers on suicide in Islam and mental health struggles among Muslim youth.

When to Seek Professional Help

Taking the means is the Sunnah, and knowing when a struggle has become an illness is part of taking the means. Seek a qualified professional — a doctor, psychiatrist, or licensed therapist — without delay when any of these is present:

— Persistent low mood, emptiness, or loss of interest in nearly everything for weeks on end, not lifting with rest, company, or worship.
— Sleep, appetite, or concentration broken to the point that work, study, prayer, or caring for children is failing.
— Panic attacks, compulsions, or fears that have taken over daily decisions.
— Withdrawal from everyone, or trauma that replays and will not settle.
— Any thought of death as a relief, of self-harm, or of "everyone would be better off without me" — this one is an emergency, today, not eventually.

None of this conflicts with tawakkul. Trust in Allah was never the absence of means — the Prophet ﷺ commanded the anxious to "seek help from Allah and do not lose heart" (Ṣaḥīḥ Muslim — site reader no. 6609), and seeking the treatment Allah created is itself an act of that trust. A Muslim may prefer a practitioner who respects their faith, and may decline any advice that contradicts the Sharīʿah, while still taking the medicine and the therapy that heal. Speaking of your pain to a doctor is not a complaint against Allah; Yaʿqūb complained to Allah while telling people what he suffered — the complaint against Allah is the accusation of the heart, not the description of the wound. The site's answer on what Islam says about mental health and seeking help puts the same ruling in a paragraph you can send to someone who is hesitating.

The Community's Duty

Mental illness is fought alone in too many of our communities, under a silence enforced by shame — and it falls heaviest on the young, who carry it between a home that has no word for it and a world that has little else (see mental health struggles among Muslim youth). But the believer's burden is the community's business by the Prophet's ﷺ own word:

Hadith — Ṣaḥīḥ al-Bukhārī

Allah's Messenger (ﷺ) said, "A Muslim is a brother of another Muslim, so he should not oppress him, nor should he hand him over to an oppressor. Whoever fulfilled the needs of his brother, Allah will fulfill his needs; whoever brought his (Muslim) brother out of a discomfort, Allah will bring him out of the discomforts of the Day of Resurrection, and whoever screened a Muslim, Allah will screen him on the Day of Resurrection."

Ṣaḥīḥ al-Bukhārī 2442Sahih

Bringing a brother out of distress is not a decoration on the religion; it is answered measure-for-measure on the Day of Resurrection. That duty lands closest on those nearest — the household, then the neighbour, then the congregation — and it is owed as a right, not offered as charity (see the rights owed in Islam). In practice it means: check on the one who has gone quiet. Visit the sick of mind as you visit the sick of body. Keep their secret — the same hadith praises the one who screens a Muslim. Carry them to help when they cannot carry themselves, and strip the shame out of your gatherings so that the sufferer among you — and there is one among you — does not have to choose between honesty and belonging.

And drop the vocabulary that wounds: a person on medication is not "possessed," a person in therapy has not "weak īmān," and a grieving heart is in the Sunnah of Yaʿqūb and of Muḥammad ﷺ. The community that understands this becomes itself a means of healing — hearts finding rest in the remembrance of Allah (Sūrat ar-Raʿd 13:28) is also a description of what a truthful, merciful congregation does for its weakest member. For the inner discipline that keeps a soul well — dhikr, muḥāsabah, gratitude — see Tazkiyah.

Compiled from the Quran and the authentic Sunnah, every citation verified against its source. This is a study aid, not a fatwā and not medical advice — for your own situation, ask a qualified scholar and a qualified clinician. See also Rulings from Quran & Hadith and the Q&A.
⛰️
Related

Islam & Hardship

Why trials come, what they mean, and how the believer stands under them.

📖
Related

Ruqyah

Healing with the Quran and authentic duʿāʾs — what is legislated and what is not.

🩺
Related

Medicine in Islam

Seeking treatment is Sunnah — every disease has its cure by Allah's leave.

🌿
Related

Ṣabr & Shukr

The believer's two wings: patience in hardship, gratitude in ease.

Shareable poster: Mental Health in Islam

Share this page as a poster

A 1080×1920 image made for phone screens — Stories, Status, Reels. It carries the heading and the link back here, so whoever you send it to can read the whole thing.

WhatsApp Telegram X Download

On a phone you can also long-press the poster and choose Save image. Every poster is on the poster page. Free to share — no attribution needed.