Hadith about wishing for death: the dua from Sahih al-Bukhari 5671

Do Not Wish for Death: The Hadith and the Dua to Say Instead

When life feels too heavy, a person may say “I wish I were dead.” There is a clear hadith about wishing for death: the Prophet ﷺ told us not to wish for it because of hardship, and he explained why with real mercy. Every extra day of a believer’s life is a chance for more good. He also gave us a dua to say instead, which leaves the choice to Allah.

At a glance

  • Source: Sahih Muslim 2682, Sahih al-Bukhari 7235 and Sahih al-Bukhari 5671
  • Narrated by: Abu Hurairah and Anas ibn Malik (may Allah be pleased with them)
  • Grade: Sahih (Bukhari and Muslim)
  • Topic: Not wishing for death; patience in hardship
  • Practise it: On a hard day, say the dua from Bukhari 5671 instead of wishing for death

The hadith about wishing for death

Abu Hurairah (may Allah be pleased with him) reported that the Prophet ﷺ said:

لاَ يَتَمَنَّى أَحَدُكُمُ الْمَوْتَ وَلاَ يَدْعُ بِهِ مِنْ قَبْلِ أَنْ يَأْتِيَهُ إِنَّهُ إِذَا مَاتَ أَحَدُكُمُ انْقَطَعَ عَمَلُهُ وَإِنَّهُ لاَ يَزِيدُ الْمُؤْمِنَ عُمْرُهُ إِلاَّ خَيْرًا

“None amongst you should make a request for death, and do not call for it before it comes, for when any one of you dies, he ceases (to do good) deeds and the life of a believer is not prolonged but for goodness.”

Sahih Muslim 2682 · Narrated by Abu Hurairah · Translation adapted from Sunnah.com

The reason is in the hadith itself. Our deeds stop when we die, and for a believer, a longer life only means more good: more prayers, more dhikr, more kindness, more chances to be forgiven.

Either more good, or a chance to repent

In another narration, also from Abu Hurairah, the Prophet ﷺ gave the reason in a few words:

لاَ يَتَمَنَّى أَحَدُكُمُ الْمَوْتَ إِمَّا مُحْسِنًا فَلَعَلَّهُ يَزْدَادُ، وَإِمَّا مُسِيئًا فَلَعَلَّهُ يَسْتَعْتِبُ

“None of you should long for death, for if he is a good man, he may increase his good deeds, and if he is an evil-doer, he may stop the evil deeds and repent.”

Sahih al-Bukhari 7235 · Narrated by Abu Hurairah · Translation from Sunnah.com

So no one is “too far gone” for more time to matter. A good person can add to their good, and someone who has made mistakes can still turn back to Allah.

What the scholars say

The explanation of this hadith on HadeethEnc says the prohibition is there because wishing for death carries a kind of displeasure with what Allah has decreed, while a believer is asked to be patient when hardship comes. That patience brings two gains: hardship wipes away sins, and the one who stays patient for Allah’s sake, hoping for His reward, is rewarded.

It also points out that whatever ending is written for a person will come, whether life is long or short, so hastening death brings no benefit. For the doer of good the hadith is glad news, and for the one who has done wrong it is a warning not to die before repenting.

The dua to say instead

The Prophet ﷺ knew that hardship can be overwhelming, so he did not just forbid the wish; he gave us words to say. Anas ibn Malik (may Allah be pleased with him) reported:

لاَ يَتَمَنَّيَنَّ أَحَدُكُمُ الْمَوْتَ مِنْ ضُرٍّ أَصَابَهُ، فَإِنْ كَانَ لاَ بُدَّ فَاعِلاً فَلْيَقُلِ اللَّهُمَّ أَحْيِنِي مَا كَانَتِ الْحَيَاةُ خَيْرًا لِي، وَتَوَفَّنِي إِذَا كَانَتِ الْوَفَاةُ خَيْرًا لِي

“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.’”

Sahih al-Bukhari 5671 · Narrated by Anas ibn Malik · Also in Sahih Muslim 2680 · Translation adapted from Sunnah.com

اللَّهُمَّ أَحْيِنِي مَا كَانَتِ الْحَيَاةُ خَيْرًا لِي، وَتَوَفَّنِي إِذَا كَانَتِ الْوَفَاةُ خَيْرًا لِي

Allahumma ahyini ma kanatil-hayatu khayran li, wa tawaffani idha kanatil-wafatu khayran li

O Allah! Keep me alive as long as life is better for me, and let me die if death is better for me.

Sahih al-Bukhari 5671 · Translation from Sunnah.com

This dua is not a wish for death. It hands the matter back to Allah, who knows what is best for us, and turns a moment of despair into an act of trust.

Remembering death the right way

Islam does not ask us to ignore death. Allah reminds us:

كُلُّ نَفْسٍ ذَآئِقَةُ ٱلْمَوْتِ ۗ وَإِنَّمَا تُوَفَّوْنَ أُجُورَكُمْ يَوْمَ ٱلْقِيَـٰمَةِ ۖ فَمَن زُحْزِحَ عَنِ ٱلنَّارِ وَأُدْخِلَ ٱلْجَنَّةَ فَقَدْ فَازَ ۗ وَمَا ٱلْحَيَوٰةُ ٱلدُّنْيَآ إِلَّا مَتَـٰعُ ٱلْغُرُورِ

Every soul will taste death, and you will only be given your [full] compensation on the Day of Resurrection. So he who is drawn away from the Fire and admitted to Paradise has attained [his desire]. And what is the life of this world except the enjoyment of delusion.

Surah Ali ‘Imran 3:185 · Translation: Saheeh International, from Quran.com

Remembering death should make us use our time well, not wish our time away. The believer prepares for death by living fully for Allah.

How to practise it

  • When the thought “I wish I were dead” comes, stop and say the dua from Bukhari 5671 instead.
  • Learn the dua in Arabic. The hadith gives no set time or number, so you could say it whenever a hardship weighs on you.
  • Use the extra day: add one good deed today, even a small one, since a believer’s life only adds good.
  • If you have made mistakes, treat each new day as a chance to repent, as Bukhari 7235 teaches.
  • Be patient and keep making dua; hardship is not the end of the story.

If you are struggling: if you are going through something so heavy that you find yourself wishing you were not alive, please do not carry it alone. Talk to someone you trust, your local imam, or a doctor or counselor. If you feel you might act on these thoughts, contact your local emergency number or a crisis line right away. Seeking help is part of trusting Allah, not a lack of it.

Questions people ask

Is it allowed to wish for death in Islam?

The Prophet ﷺ said none of us should wish for death because of a calamity (Sahih al-Bukhari 5671) and explained that a believer’s life only adds good (Sahih Muslim 2682). For personal situations, ask a qualified scholar.

What dua should I say instead of wishing for death?

Allahumma ahyini ma kanatil-hayatu khayran li, wa tawaffani idha kanatil-wafatu khayran li: O Allah, keep me alive as long as life is better for me, and let me die if death is better for me (Sahih al-Bukhari 5671).

Why should we not wish for death?

Because deeds end with death. A good person may add to their good, and a wrongdoer may repent (Sahih al-Bukhari 7235).

Key lessons

Do Not Wish for Death – key lessons card, Muslim 2682 · Bukhari 7235 · Bukhari 5671
  • The Prophet ﷺ forbade wishing for death because of hardship.
  • A believer’s life only adds good: more deeds, or more chances to repent.
  • Instead, say: O Allah, keep me alive as long as life is better for me.
  • Patience, dua and asking for help are the believer’s response to trials.

May Allah grant us patience in hardship, long lives filled with good deeds, and a good ending when our time comes.

Save this to Pinterest so you can remember the dua for hard times

Do Not Wish for Death: The Hadith and the Dua to Say Instead – Pinterest pin, Sahih al-Bukhari 5671

Share the reward. Send this article to someone who needs it today — teaching a hadith or dua can become a lasting good deed for you, in shaa Allah.

Similar Posts