Dua Asking for a Good End | The Prayer of Prophet Yusuf ๏ทบ at His Greatest Success | PureDua
๐Ÿ“ฟ Duas & Dhikr

Dua Asking for a Good End

The Prayer Prophet Yusuf ๏ทบ Made at the Peak of His Power โ€” Not in the Well

โšก Quick Answer โ€” Tawaffani Musliman ยท Surah Yusuf 12:101
๐Ÿ“– Quran ยท Surah Yusuf 12:101 ยท The Dua of Prophet Yusuf (AS) ยท Made at the Summit of Everything
ููŽุงุทูุฑูŽ ุงู„ุณูŽู‘ู…ูŽุงูˆูŽุงุชู ูˆูŽุงู„ู’ุฃูŽุฑู’ุถู ุฃูŽู†ุชูŽ ูˆูŽู„ููŠูู‘ูŠ ูููŠ ุงู„ุฏูู‘ู†ู’ูŠูŽุง ูˆูŽุงู„ู’ุขุฎูุฑูŽุฉู ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ
Fatira al-samawati wal-ardi ยท Anta waliyyi fi al-dunya wal-akhirah ยท tawaffani musliman ยท wa alhiqni bil-salihin
"Creator of the heavens and the earth, You are my Protector in this world and in the Hereafter. Cause me to die a Muslim, and join me with the righteous."
โ€” Surah Yusuf 12:101 ยท Said at the moment of complete worldly fulfillment ยท The dua belongs at the peak, not only in the valley
๐Ÿ“Œ Information Gain โ€” What Most Articles Miss

Prophet Yusuf (AS) made this dua at the moment of his greatest worldly triumph โ€” not in suffering. He had been reunited with his father. His brothers had bowed before him. The dream of his childhood was fulfilled exactly. He was the most powerful man in Egypt. Everything had come together. And in that moment โ€” at the very peak โ€” his most urgent concern was his ending. This timing is the entire lesson of the dua: the correct time to ask for a good ending is not when you feel close to death or when things are falling apart. It is at the height of success โ€” when the dunya is most attractive and the danger of forgetting the correct orientation is greatest.

๐ŸŽง Listen โ€” Tawaffani Musliman recited by Oualid El Makami
Tawaffani Musliman โ€” Dua for Good End recited by Oualid El Makami โ€” PureDua
โ–ถ
Play Recitation

Yusuf (AS) had been through everything. Thrown into a well by his own brothers. Sold into slavery. Imprisoned for years after false accusation. Forgotten by those he helped. And then โ€” decade by decade โ€” the dream unfolded. Released from prison. Finance minister of Egypt. His brothers returned, not knowing who he was. His father came. The family was reunited. And in that moment โ€” at the summit of everything โ€” this is what Yusuf (AS) said:

"Creator of the heavens and the earth. You are my Protector in this world and the next. Cause me to die a Muslim. And join me with the righteous."

Not "let me enjoy this." Not "give me more." Die as a Muslim. Join me with the righteous. The moment of greatest worldly success โ€” and the heart was already looking past it, toward the ending.

๐Ÿคฒ The Complete Dua for a Good End

โœฆ Surah Yusuf 12:101 ยท Made at the Peak ยท Four Parts
ููŽุงุทูุฑูŽ ุงู„ุณูŽู‘ู…ูŽุงูˆูŽุงุชู ูˆูŽุงู„ู’ุฃูŽุฑู’ุถู ุฃูŽู†ุชูŽ ูˆูŽู„ููŠูู‘ูŠ ูููŠ ุงู„ุฏูู‘ู†ู’ูŠูŽุง ูˆูŽุงู„ู’ุขุฎูุฑูŽุฉู ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ
Fatira al-samawati wal-ardi ยท Anta waliyyi fi al-dunya wal-akhirah ยท tawaffani musliman ยท wa alhiqni bil-salihin
"Creator of the heavens and the earth, You are my Protector in this world and in the Hereafter.
Cause me to die a Muslim, and join me with the righteous."
โ€” Surah Yusuf 12:101 ยท Quran ยท The dua of Prophet Yusuf (AS)

The Four Parts โ€” Address ยท Relationship ยท Ending ยท Company

โ‘ 
The Address โ€” Who Is Being Called

"Creator of the heavens and the earth from nothing." Before asking for a good ending โ€” the One with power to give it is named. Everything Yusuf received is placed in its correct proportion.

ููŽุงุทูุฑูŽ ุงู„ุณูŽู‘ู…ูŽุงูˆูŽุงุชู ูˆูŽุงู„ู’ุฃูŽุฑู’ุถู
โ‘ก
The Relationship โ€” Guardian in Both Worlds

"You are my Wali in this world and the next." The walayah that carried Yusuf through the well, the slavery, the prison โ€” declared as continuing into the akhirah.

ุฃูŽู†ุชูŽ ูˆูŽู„ููŠูู‘ูŠ ูููŠ ุงู„ุฏูู‘ู†ู’ูŠูŽุง ูˆูŽุงู„ู’ุขุฎูุฑูŽุฉู
โ‘ข
The Request for Ending โ€” The Most Important Moment

"Cause me to die as a Muslim." The state of the soul at the one moment that cannot be corrected after it happens. The peak of Yusuf's life โ€” and this is what he asked for.

ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง
โ‘ฃ
The Request for Company โ€” After the Ending

"Join me with the righteous." Not just Paradise โ€” the company of the prophets, siddiqin, shuhada, and salihin. The highest possible afterlife companionship.

ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ

๐Ÿ“– The Story โ€” From the Well to the Throne

Allah calls Yusuf's story "ahsanu al-qasas" โ€” the most beautiful of stories. (Surah Yusuf 12:3). It is unique: the only surah dedicated entirely to one prophet's life, told in sequence. The path from the well to this dua:

๐ŸŒ‘
The Well โ€” Cast in by His Brothers as a Child

The dream: eleven stars, the sun, the moon โ€” prostrating before him. (Surah Yusuf 12:4). His brothers threw him into the well to be rid of him. Alone, in darkness.

โ›“๏ธ
Slavery in Egypt โ€” Sold at a Low Price

A caravan found him and sold him into slavery. He entered Egypt not as a prophet but as property. The dream seemed impossible.

๐Ÿ”’
Prison โ€” False Accusation, Years Forgotten

False accusation, imprisonment, and even after interpreting the king's cupbearer's dream โ€” forgotten. Years passed in the cell. "And Shaytan caused him to forget the mention of his Lord." (Surah Yusuf 12:42).

๐Ÿ‘‘
The Summit โ€” Power, Reunion, Fulfilled Dream

Released from prison. Finance minister of Egypt. The famine came as he had predicted. His brothers came not knowing who he was. His father came. The family reunited. His father's eyes healed. Eighty-eight of his family bowed before him. Every element of the childhood dream fulfilled exactly. Everything complete.

ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ
And at the very summit โ€” this was the request.

๐Ÿ“Œ The peak of success is the most dangerous moment for the heart. Islamic scholars note that Yusuf's timing is the deepest lesson of this dua. The well, the prison, the suffering โ€” those moments naturally orient the heart toward Allah. He made this dua at the top. When the dunya was most beautiful, most complete, most satisfying. That is when the heart is most at risk of attaching. That is when the correct prayer is: don't let me mistake this for the destination. Let me die still knowing You are the destination.

๐Ÿ” Key Words Explained

ููŽุงุทูุฑูŽ ุงู„ุณูŽู‘ู…ูŽุงูˆูŽุงุชู ูˆูŽุงู„ู’ุฃูŽุฑู’ุถู
Fatira al-samawati wal-ardi
Creator of the Heavens and the Earth โ€” Everything in Correct Proportion

"Fatir" from "fatara" โ€” to originate, to create from nothing, to bring into existence what did not exist. Not "Khaliq" (shaper of existing material) but "Fatir" โ€” the absolute Originator. "Al-samawati wal-ardi" โ€” the heavens and the earth, all of creation. By addressing Allah as "Fatir al-samawati wal-ardi" at the peak of his success, Yusuf placed everything he had just received in its correct proportion: I have been given something by the One who created everything from nothing. The gift is real โ€” but the Giver is infinitely greater than the gift. The One who can originate existence from nothing can certainly bring about a good ending for one person's life.

ุฃูŽู†ุชูŽ ูˆูŽู„ููŠูู‘ูŠ ูููŠ ุงู„ุฏูู‘ู†ู’ูŠูŽุง ูˆูŽุงู„ู’ุขุฎูุฑูŽุฉู
Anta waliyyi fi al-dunya wal-akhirah
You Are My Protector in Both Worlds โ€” The Walayah That Never Ends

"Anta" โ€” You. Emphatic, personal, direct. "Waliyyi" โ€” my Wali. "Wali" in Arabic encompasses guardian, protector, intimate friend, and ally โ€” the one who has authority over you and exercises it with love. "Fi al-dunya wal-akhirah" โ€” in both worlds. Not only for the afterlife โ€” in this life too. Yusuf had just lived the proof of Allah's walayah through every stage: through the well, the slavery, the prison, the rise. Every moment was under His care. And the declaration is: this walayah continues into the next world. What comes after death is also under His care. This is itself a source of peace โ€” the protection that carried you through every trial in this world carries you through death and into the next.

ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง
Tawaffani musliman
Cause Me to Die as a Muslim โ€” The Most Important Request of Any Life โœฆ

"Tawaffa" โ€” to take in full, to receive completely, to cause to die. Death in Arabic ("wafat") literally means the "taking" of the soul โ€” and it is always in Allah's hands. "Allahu yatawaffa al-anfusa hina mawtiha" โ€” Allah takes the souls at the time of their death. (Surah Az-Zumar 39:42). "Musliman" โ€” as a Muslim, in a state of complete surrender and submission to Allah. This is the most important request a human being can make because it concerns the one moment of life that cannot be corrected after it happens. Every sin before death can be forgiven. Every mistake can be repented from. The moment of death itself is final. "Tawaffani musliman" โ€” take my soul while I am submitted to You, oriented toward You, in a state of Islam. The Quran commands: "Do not die except as Muslims." (Surah Ali 'Imran 3:102). Yusuf's dua is that command in supplication form: cause this to be true when my moment comes.

ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ
Wa alhiqni bil-salihin
And Join Me with the Righteous โ€” The Highest Afterlife Company โœฆ

"Alhiqni" from "alhiqa" โ€” to join, to catch up with, to connect to. "Bil-salihin" โ€” with the salihin. The Quran identifies who the salihin are in Surah An-Nisa (4:69): "Those upon whom Allah has bestowed favor โ€” from the prophets, the siddiqin (the truthful), the shuhada (the witnesses/martyrs), and the salihin (the righteous). And excellent are those as companions." Yusuf is asking for the highest possible afterlife companionship โ€” not just Paradise in general, but the company of the best of its inhabitants. The Prophet ๏ทบ said: "A person will be with those he loves." (Sahih Bukhari, Sahih Muslim). Anas ibn Malik (RA) narrated they rejoiced at this hadith more than at anything โ€” hoping their love for the Prophet ๏ทบ would join them with him. "Alhiqni bil-salihin" is asking for that connection โ€” for love of the righteous to become joining with them.

โš–๏ธ Husn al-Khatimah vs Su' al-Khatimah

"Husn al-khatimah" โ€” the good ending โ€” is dying in a state of iman and correct orientation. "Su' al-khatimah" โ€” the bad ending โ€” is dying in heedlessness, sin, or disconnection from faith. This dua asks for the first and protects against the second.

โœฆ Husn al-Khatimah โ€” The Good Ending ุญูุณู’ู†ู ุงู„ู’ุฎูŽุงุชูู…ูŽุฉ
Dying in a state of Islam and iman
Last words: "La ilaha illallah" โ€” on the tongue as a habit
Guided to a righteous deed before the soul is taken
Heart oriented toward Allah at the final moment
Death during or following worship
Angels with glad tidings at the moment of taking
Face peaceful and bright at death
โœฆ This dua is the daily asking for this
โš  Su' al-Khatimah โ€” The Bad Ending ุณููˆุกู ุงู„ู’ุฎูŽุงุชูู…ูŽุฉ
Dying in heedlessness or departure from faith
Attachment to the dunya โ€” the world as the primary concern
Consistent abandonment of prayer and worship
Sins left without tawbah accumulating over time
Heedlessness about death and what follows
Following the nafs without restraint or reflection
Heart not oriented toward Allah at the final moment
โœ˜ The protection: this dua said daily
ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ุญูŽู‚ูŽู‘ ุชูู‚ูŽุงุชูู‡ู ูˆูŽู„ูŽุง ุชูŽู…ููˆุชูู†ูŽู‘ ุฅูู„ูŽู‘ุง ูˆูŽุฃูŽู†ุชูู… ู…ูู‘ุณู’ู„ูู…ููˆู†ูŽ
"O you who have believed, fear Allah as He should be feared and do not die except as Muslims."
โ€” Surah Ali 'Imran 3:102 ยท "Do not die except as Muslims" โ€” Yusuf's dua is this verse in supplication form

The Prophet ๏ทบ said: "Whoever's last words are 'La ilaha illallah' will enter Paradise." (Abu Dawood). And: "When Allah wills good for a servant, He puts them to work before death โ€” guides them to a righteous deed, then takes their soul in that state." (Ahmad). "Tawaffani musliman" is asking for exactly this: to be guided to the correct state and then taken in it.

๐Ÿ•Œ When to Recite This Dua

๐ŸŒŸ

At Moments of Worldly Success โ€” Following Yusuf's Model

When something good happens, when a goal is achieved, when life is going well โ€” this is the moment for "tawaffani musliman." The peak is when the heart most needs to be reminded of the ending and not to mistake the gift for the destination.

๐ŸŒ…

Every Morning and Evening โ€” Daily Orientation

Beginning and ending each day with the request for good ending keeps the correct orientation. Morning: today, may I be maintained in Islam. Evening: however today went โ€” let the ending find me as a Muslim.

๐Ÿ“ฟ

After Every Salah โ€” Prayer as Preparation for Death

Every salah is a rehearsal of standing before Allah. After each prayer, "tawaffani musliman wa alhiqni bil-salihin" connects the prayer just completed to its ultimate purpose: preparation for the final standing.

๐ŸŒ™

Before Sleeping โ€” The Nightly Death Acknowledgment

Sleep is described in Islam as a minor death. Before sleeping โ€” "tawaffani musliman." If this sleep becomes the final one, let the state be correct. Connected naturally to "aslamtu nafsi ilayk โ€” I surrender myself to You."

โšฐ๏ธ

When Visiting Graves or Attending Funerals

The sight of death naturally orients the heart. In that moment of natural reflection โ€” "tawaffani musliman." Let the reminder of death be immediately connected to the correct Islamic response: asking for the good ending.

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง

When Praying for the Entire Family

"Tawaffani musliman wa alhiqni bil-salihin" extended: "and my spouse, my children, my parents โ€” tawaffana jami'an muslimeen wa alhiqna bil-salihin." Ask the good ending for the entire household at once.

โœจ 5 Benefits of This Dua for a Good End

Benefit 1
๐Ÿ‘‘
The Dua of a Prophet at the Most Spiritually Dangerous Moment โ€” the Peak

Yusuf made this dua when worldly success was complete. By making it then, he modeled the most important Islamic response to success: don't let the peak of dunya make you forget the ending. Making this dua at good moments protects the heart from worldly attachment.

Benefit 2
๐ŸŒŒ
"Fatira al-samawati wal-ardi" โ€” Places All Worldly Success in Correct Proportion

Addressing Allah as "Creator of the heavens and the earth from nothing" before asking for a good ending frames everything received in its correct proportion. The One who created everything from nothing holds the ending โ€” every worldly achievement is secondary to what He holds.

Benefit 3
๐Ÿ›ก๏ธ
"Anta Waliyyi" โ€” The Walayah Covers Both Worlds

The declaration "You are my Wali in this world and the next" is itself a source of peace. The protection of Allah that was present through the well, the slavery, the prison, and the rise โ€” continues into the next world. The good ending is under His walayah.

Benefit 4
โฐ
Covers the Most Important Moment of Any Life

"Tawaffani musliman" asks for the correct state at the one moment that cannot be corrected after it happens. Every mistake in life can be repented from. Death in the wrong state cannot be undone. This dua is the most important asking for the moment that matters most.

Benefit 5
๐ŸŒŸ
"Alhiqni bil-salihin" โ€” The Highest Possible Afterlife Companionship

Not just Paradise โ€” the company of the prophets, siddiqin, shuhada, and salihin. The Prophet ๏ทบ said a person is with whom they love. By asking to be joined with the salihin, the person declaring their love for and aspiration toward the company of the best of Allah's servants.

๐Ÿ“ฟ
Ask for the Good Ending Daily โ€” Build the Habit Before the Moment

The person who waits until they feel close to death to ask for a good death may not have the clarity or habit to make that dua sincerely when the moment comes. The person who makes "tawaffani musliman" daily โ€” especially at moments of success โ€” has built the orientation that makes husn al-khatimah most likely.

โ“ Frequently Asked Questions

Q
What is the dua for a good end in Islam?
"Fatira al-samawati wal-ardi, Anta waliyyi fi al-dunya wal-akhirah, tawaffani musliman wa alhiqni bil-salihin" โ€” Creator of the heavens and the earth, You are my Protector in this world and the Hereafter. Cause me to die a Muslim and join me with the righteous. (Surah Yusuf 12:101). The dua of Prophet Yusuf (AS) โ€” made at the height of his worldly power.
Q
Why did Prophet Yusuf make this dua at his greatest success?
Because the peak of worldly success is the most vulnerable moment for the heart. When everything the world offers is present and complete, the danger of attaching to it is greatest. Yusuf's timing teaches the most important lesson: ask for the good ending precisely when you feel you need it least โ€” at the top, not only in the valley or in suffering.
Q
What does "tawaffani musliman" mean?
"Tawaffani" means cause me to die, take my soul โ€” from "wafat" meaning the taking of the soul in death. "Musliman" means as a Muslim, in a state of submission and surrender to Allah. Together: "cause me to die while I am submitted to You." It asks for the state of Islam to be maintained until the final moment โ€” the most important request about the most important moment of any life.
Q
What does "alhiqni bil-salihin" mean?
"Alhiqni" means join me with, connect me to, let me catch up with. "Bil-salihin" โ€” the righteous. The Quran (Surah An-Nisa 4:69) identifies the salihin as the prophets, siddiqin (the truthful), shuhada (martyrs), and righteous people. Yusuf asked for the highest possible afterlife companionship. The Prophet ๏ทบ said "a person is with whom they love" โ€” this dua is asking for that love to become joining.
Q
What is "Fatira al-samawati wal-ardi" and why does it open this dua?
"Fatir" means the One who creates from nothing โ€” the absolute Originator of existence. "Al-samawati wal-ardi" โ€” all of creation. Yusuf opened by addressing Allah as the Creator of everything from nothing, placing all his worldly achievements in correct proportion: the gift is real, but the Giver is infinitely greater. The One who can originate existence from nothing can certainly bring about a good ending for one person's life.
Q
What is husn al-khatimah and how is this dua connected to it?
"Husn al-khatimah" means the good ending โ€” dying in a state of iman with the last words and state being correct. The Prophet ๏ทบ said whoever's last words are "La ilaha illallah" will enter Paradise. "Tawaffani musliman" is the dua for husn al-khatimah โ€” asking Allah to ensure the ending is the correct one. Making it daily builds the habit and orientation that makes husn al-khatimah most likely.

The Dream Was Fulfilled. Everything Was Complete. And He Asked for One Thing.

The eleven stars had bowed. The sun and moon had bowed. His brothers had bowed. His father had prostrated. The forty-year journey from the well to the throne of Egypt was complete. Everything fulfilled. The most beautiful story in the Quran โ€” at its summit.

And Yusuf (AS) โ€” at that precise moment โ€” turned to Allah and made the most important request of his life. Not: let me stay here longer. Not: give me more of this. Die as a Muslim. Join me with the righteous.

This dua belongs at the peak, not only in the valley. Every morning. At every moment of achievement. As the heart's daily reminder: everything given must eventually be returned to the One who is Fatir al-samawati wal-ardi.

ููŽุงุทูุฑูŽ ุงู„ุณูŽู‘ู…ูŽุงูˆูŽุงุชู ูˆูŽุงู„ู’ุฃูŽุฑู’ุถู ุฃูŽู†ุชูŽ ูˆูŽู„ููŠูู‘ูŠ ูููŠ ุงู„ุฏูู‘ู†ู’ูŠูŽุง ูˆูŽุงู„ู’ุขุฎูุฑูŽุฉู ุชูŽูˆูŽููŽู‘ู†ููŠ ู…ูุณู’ู„ูู…ู‹ุง ูˆูŽุฃูŽู„ู’ุญูู‚ู’ู†ููŠ ุจูุงู„ุตูŽู‘ุงู„ูุญููŠู†ูŽ โ€” Surah Yusuf 12:101 ยท The dua of Prophet Yusuf (AS) at the summit of everything

May Allah take all our souls as Muslims โ€” at whatever time He has written, may that state be Islam. And may He join us with the salihin โ€” the prophets, the siddiqin, the shuhada, and the righteous.

ุขู…ููŠู† ูŠูŽุง ุฑูŽุจูŽู‘ ุงู„ู’ุนูŽุงู„ูŽู…ููŠู†
Scroll to Top