Dua of Prophet Yusuf (AS) | Prayer for a Muslim Death & Good Ending | PureDua

Dua of Prophet Yusuf (AS)

The Prayer Made at the Peak of Success That Reveals What Truly Matters

When Yusuf stood at the peak of everything — treasurer of Egypt, family reunited, brothers forgiven, childhood dream fulfilled — every instinct of worldly logic would say: now ask for more. Ask for it to last. Ask to protect what you have built. Instead he said: "Cause me to die a Muslim. Join me with the righteous." Not more power. Not more time. Not more success. A good ending. This is the dua that reveals what a prophet truly values — and it may be the most important dua in this entire series.

🤲 The Complete Dua

🤲 The Complete Dua of Prophet Yusuf

The only major prophetic dua in the Quran made from the highest point of worldly success. Not from the well. Not from prison. From the throne — and its only request is for a good ending.

رَبِّ قَدْ آتَيْتَنِي مِنَ الْمُلْكِ وَعَلَّمْتَنِي مِن تَأْوِيلِ الْأَحَادِيثِ ۚ فَاطِرَ السَّمَاوَاتِ وَالْأَرْضِ أَنتَ وَلِيِّي فِي الدُّنْيَا وَالْآخِرَةِ ۖ تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ
Transliteration: Rabbi qad ataytani mina-l-mulki wa 'allamtani min ta'weeli-l-ahadith, Fatira-s-samawati wa-l-ard, Anta waliyyi fi-d-dunya wa-l-akhirah, tawaffani musliman wa alhiqni bi-s-saliheen
Translation:"My Lord, You have given me of sovereignty and taught me of the interpretation of dreams. Creator of the heavens and 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 · Made at the absolute peak of worldly success — after everything had been fulfilled
🎧 Listen — Dua of Prophet Yusuf recited by Oualid El Makami
Dua of Prophet Yusuf recited by Oualid El Makami

📌 What Most Articles Miss: This is the only supplication in the entire Quran made by a prophet at the moment of complete worldly success — not during a trial, not in weakness, not seeking help against an enemy. Every other recorded prophetic dua comes from need. Yusuf's comes from the top. This makes it the Quran's clearest statement about what truly matters.

📖 Read the full story: Life of Prophet Yusuf (AS)

⭐ When Did Yusuf Make This Dua — and Why Does the Timing Matter?

Yusuf had just reached the complete fulfillment of everything. He was the Aziz of Egypt. His family had migrated and were living with him in honor. His father's sight had been miraculously restored. His brothers had confessed and been forgiven. His childhood dream — eleven stars, sun, and moon prostrating to him — had come true exactly as Allah showed him decades earlier.

  • He had power — second only to the Pharaoh in Egypt
  • He had wealth — treasurer of the most powerful kingdom of his time
  • He had family — reunited with his father and every one of his brothers
  • He had vindication — publicly declared innocent after years of false accusation
  • He had honor — the childhood dream fulfilled in ways he could never have designed

And this is the moment he chose to make his most serious dua.

📌 Why the Timing Changes Everything: Every other prophetic dua in the Quran comes from a position of need. Adam sinned. Nuh faced 950 years of rejection. Lut faced a mob. Ibrahim asked while building. But Yusuf's final dua comes from complete success. This is the Quran telling us: the moment of greatest worldly success is the moment of greatest spiritual danger. Because ease can make you forget. Comfort can make you heedless. Success can make you feel you no longer need to ask.

"Actions are by their endings."

— Sahih Bukhari · Your beginning does not define your story. Your middle does not define it. Only your ending does. Yusuf knew this — and at the moment everything was perfect, his mind went immediately to: "But how does my story end?"

🔍 Word-by-Word Breakdown

This dua has four distinct movements — gratitude, declaration, pivot, and request. Each one carries a lesson.

رَبِّ
Rabbi — "My Lord"

A King Who Knows He Is a Servant

At the peak of power over one of the greatest kingdoms on earth, Yusuf's first word is a declaration of who he truly is: a servant. Not a king speaking to a distant deity — a servant addressing the One he belongs to.

قَدْ آتَيْتَنِي مِنَ الْمُلْكِ
Qad ataytani mina-l-mulk

Gratitude Before Request — and "Min" Again

"You gave me of sovereignty" — not "all sovereignty." The same humble "min" (portion) Ibrahim used. The most powerful man in Egypt said "You gave me a portion of kingship." The truly powerful are always humble before the One who gave them their power.

وَعَلَّمْتَنِي
Wa 'allamtani — "And You taught me"

Every Gift Is Allah's — Including Your Talent

"You taught me" — the ability to interpret dreams was not a skill Yusuf learned. It was given. It saved him from prison, brought him to the king, and was the direct cause of his rise. Every talent you possess — intelligence, creativity, leadership — is something Allah taught you.

فَاطِرَ السَّمَاوَاتِ وَالْأَرْضِ
Fatira-s-samawati wa-l-ard

The Name That Carries the Request

"Fatir" — the Originator who brought existence from nothing. Yusuf uses this name because he is about to ask for something only the Creator of everything can give: preservation of faith until death. If You created everything from nothing, You can certainly preserve my iman.

أَنتَ وَلِيِّي فِي الدُّنْيَا وَالْآخِرَةِ
Anta waliyyi fi-d-dunya wa-l-akhirah

The Pivot — from This World to the Next

"You are my Wali in this world AND the Hereafter." This is the hinge of the dua. Yusuf is saying: "You managed my affairs through the well, the slave market, the prison, the throne. Be my Wali at the end too — in the life that is eternal and far more important."

تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ
Tawaffani musliman wa alhiqni bi-s-saliheen

The Only Request — and It Is the Most Important One in the Series

"Cause me to die a Muslim" — faith is not a permanent possession. It is a living trust that must be protected until the very last breath. If a prophet after a lifetime of righteousness still begged for this, who are we to feel certain about our endings? "And join me with the righteous" — not minimum salvation, but the highest company: the prophets, the siddiqeen, the martyrs, the best of humanity for eternity. Allah is not limited. Ask for the best.

🔄 How This Dua Completes the 5-Prophets Series

Looking across all five prophets' primary duas, a complete map of the Muslim spiritual life emerges — with Yusuf's as the final and ultimate piece.

ProphetThe DuaThemeWhen to Use
Adam عليه السلامرَبَّنَا ظَلَمْنَا أَنفُسَنَاReturning to Allah after falling — repentanceAfter a sin — turn back immediately
Nuh عليه السلامرَّبِّ ٱغْفِرْ لِى وَلِوَٰلِدَىَّPraying for others across time — communityDaily dhikr — connect with the ummah
Lut عليه السلامرَبِّ انصُرْنِي عَلَى الْقَوْمِ الْمُفْسِدِينَDivine power against external evil — courageFacing corruption, standing alone for truth
Ibrahim عليه السلامرَبِّ ٱجۡعَلۡنِي مُقِيمَ ٱلصَّلَوٰةِA legacy of worship through children — investmentEvery day as a parent
Yusuf عليه السلامتَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَProtecting the ending — the ultimate priorityEvery single day — from success or hardship — until your last breath

📌 The Complete Spiritual Map: When you fall → Adam. For your community → Nuh. Against evil → Lut. For your children → Ibrahim. For your own ending → Yusuf. All the repentance, community, courage, and legacy-building serve one ultimate purpose: arriving at death as a Muslim, in the company of the righteous.

← Previous in Series: Dua of Prophet Ibrahim (AS)

📿 The Other Duas of Prophet Yusuf in the Quran

Yusuf made three other significant supplications throughout his story — from the lowest points to the highest. Together they show an unbroken connection to Allah at every stage.

From Prison
رَبِّ السِّجْنُ أَحَبُّ إِلَيَّ مِمَّا يَدْعُونَنِي إِلَيْهِ
Rabbi-s-sijnu ahabbu ilayya mimma yad'oonani ilayh
"My Lord, prison is more to my liking than that to which they invite me." — Surah Yusuf 12:33 · He chose hardship deliberately over sin
✅ Use when: Facing temptation and needing strength to choose hardship over sin
Honest Weakness
وَإِلَّا تَصْرِفْ عَنِّي كَيْدَهُنَّ أَصْبُ إِلَيْهِنَّ وَأَكُن مِّنَ الْجَاهِلِينَ
Wa illa tasrif 'anni kaydahunna asbu ilayhinna wa akun mina-l-jahileen
"And if You do not avert from me their plan, I might incline toward them and be of the ignorant." — Surah Yusuf 12:33 · Honest acknowledgment of human weakness before Allah
✅ Use when: Acknowledging your weakness and asking for Allah's protection against temptation
From Power
لَا تَثْرِيبَ عَلَيْكُمُ الْيَوْمَ ۖ يَغْفِرُ اللَّهُ لَكُمْ
La tathreeba 'alaykumu-l-yawm, yaghfiru-llahu lakum
"No blame will there be upon you today. Allah will forgive you." — Surah Yusuf 12:92 · Complete and immediate forgiveness to those who had destroyed his childhood
✅ Use as: A statement and intention when you choose to forgive someone who has wronged you deeply

📌 The Through-Line: From prison (weakness) → acknowledgment of human fragility → forgiveness in power → dua for a good ending at the peak. Yusuf turned to Allah at every single stage. Not the trials, not the success, but the unbroken connection to Allah that persisted through all of it — that is the through-line of his story.

🕌 When Should You Recite This Dua?

📅

Every single day — without exception — "Actions are by their endings." You do not know which day is your last. Make this dua every morning, every night, after every prayer.

☀️

Especially during ease and success — this is when Yusuf made it. Promotion, health, family peace, comfort — this is when spiritual heedlessness is most likely. Make it most urgently when you need it least by worldly measure.

🌙

Before sleeping — people die in their sleep every night. Make this dua your last supplication before closing your eyes. You may not wake.

🙏

In sujood during every prayer — the closest you are to Allah. Use that closeness to ask for the most important thing you will ever ask for.

🏆

When you achieve something significant — promotion, milestone, success. Make this dua immediately. Follow Yusuf's example: at the peak, your mind goes to your ending.

😔

After sinning — urgently. "O Allah, do not let me die in this state. Return me to You before my time comes." Then repent immediately.

✈️

Before any journey — you may not return. Ask Allah: if I die today, let me die as a Muslim.

⚰️

When you witness death — a funeral, the passing of someone you know. Let it be the reminder that resets your priorities. Make this dua while the reality is vivid.

📿 How to Recite with Full Sincerity — 7 Steps

1

Begin with gratitude, as Yusuf did

Before asking to die as a Muslim, spend a moment acknowledging what Allah has already given you. Islam itself. The ability to pray. Your family. Your health. Yusuf began with "You have given me" — follow his pattern. The heart that begins with gratitude is a heart prepared for sincere asking.

2

Recite Allah's name "Fatir" with awareness

When you say "Fatira-s-samawati wa-l-ard" — pause. You are addressing the One who created everything from nothing. The One who can just as easily preserve your faith until your last breath. Let the magnitude of who you are speaking to settle before your request.

3

Declare His guardianship as a statement of trust

"Anta waliyyi fi-d-dunya wa-l-akhirah" — say this as complete reliance. "I am not relying on my own strength to protect my faith until the end. You have been my Wali through everything. Be my Wali at the ending too."

4

Say "tawaffani musliman" with genuine weight

You are asking Allah to protect your faith against every force that could strip it away before death — including your own nafs, your desires, trials you cannot foresee. Say it with the weight of what you are asking for. Not a formula — a genuine plea.

5

Say "alhiqni bi-s-saliheen" with longing

Picture who the "saliheen" are — the prophets, the martyrs, the siddiqeen, the best of humanity across all of history. You are asking to be in that company forever. Ask for it with the yearning of someone who genuinely desires it.

6

Expand it to others after making it for yourself

"O Allah, grant my parents a Muslim death. Grant my children a Muslim death. Grant all Muslims a Muslim death." Let Yusuf's dua expand — as Nuh's dua expanded — from self to ummah.

7

Live like someone who means it

The dua is not a magic formula. It is a statement of priority. Maintain your five prayers. Repent from sins quickly. Stay away from what pulls you from Allah. Keep your tongue wet with dhikr. The dua and the life must match.

✨ 6 Lessons from This Dua for Every Muslim Today

Lesson 1
☀️
Success Is the Most Dangerous Time to Stop Making Serious Duas

Most people make fewer and less urgent duas when life is good. Yusuf made his most serious dua when his life was at its absolute best. The ease of worldly success is precisely when spiritual heedlessness is most likely — and when the ending most needs protecting.

Lesson 2
🏁
Your Ending Is the Only Thing That Defines Your Entire Story

"Actions are by their endings." Not how you started. Not what you accumulated. Not decades of effort. Only the ending. Everything else is temporary decoration on a journey toward that single moment. Yusuf understood this at the top of the mountain.

Lesson 3
🙇
If a Prophet Feared a Bad Ending, You Should Too

Yusuf was a prophet, divinely protected, called among the righteous. And he still begged: "Let me die as a Muslim." This is not weakness — it is the highest form of spiritual clarity. No one is guaranteed. No level of righteousness makes the ending automatic without Allah's protection.

Lesson 4
🙏
Gratitude Before Request — the Structure of Sincere Dua

Yusuf opened with acknowledgment: "You gave me sovereignty. You taught me interpretation." Then he made his request. This structure — gratitude first, request second — is the pattern of every prophetic dua in this series. Start yours the same way.

Lesson 5
Ask for the Best Company — Not Just the Minimum

"Join me with the righteous" is not asking for the minimum of Paradise. It is asking for the prophets, the martyrs, the siddiqeen — the highest company in the eternal life. Allah is not limited. Your request does not need to be small. Ask for the best.

Lesson 6
🔗
Trust the Same Protector for the Next Life as for This One

"You are my Wali in this world and the Hereafter." Yusuf had seen Allah's protection through the well, the slave market, the palace, the prison. He trusted that the same Allah who protected him through all of that would protect his ending too. Build your trust for the next life on His proven faithfulness in this one.

❓ Frequently Asked Questions

Q
What is the dua of Prophet Yusuf in Arabic?
The dua is: رَبِّ قَدْ آتَيْتَنِي مِنَ الْمُلْكِ وَعَلَّمْتَنِي مِن تَأْوِيلِ الْأَحَادِيثِ فَاطِرَ السَّمَاوَاتِ وَالْأَرْضِ أَنتَ وَلِيِّي فِي الدُّنْيَا وَالْآخِرَةِ تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ — "My Lord, You have given me of sovereignty and taught me of the interpretation of dreams. Creator of the heavens and 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)
Q
When did Prophet Yusuf make this dua?
Yusuf made this dua at the absolute peak of his worldly success — after being reunited with his family, after his father's sight was restored, after his brothers confessed and were forgiven, and after his childhood dream came true. It is the only major prophetic dua in the Quran made from a position of complete worldly success rather than need or trial.
Q
Why is "tawaffani musliman" — dying as a Muslim — so important?
Because the Prophet ﷺ said: "Actions are by their endings." (Sahih Bukhari). Faith is not a permanent possession — it must be protected until the very last moment. A person can worship for decades and lose their faith before death — and lose everything eternally. This is why even a prophet begged Allah for a Muslim death, because no level of righteousness guarantees the ending without Allah's protection.
Q
What does "alhiqni bi-s-saliheen" mean?
It means "join me with the righteous." In the Quranic context, the "saliheen" refers to those upon whom Allah has bestowed His greatest favor: the prophets, the siddiqeen (steadfast affirmers of truth), the shuhada (martyrs), and the righteous (Surah An-Nisa 4:69). Yusuf was not asking for minimum salvation — he was asking for the highest, most honored company in the eternal life.
Q
Can I recite this dua as protection against losing my faith?
Yes — and this is one of its most important uses. Make it daily, especially during times of ease when spiritual heedlessness is most likely. The Prophet ﷺ also said: "O Turner of hearts, keep my heart firm on Your religion." (Tirmidhi) — combine both for comprehensive protection of your faith until the end.
Q
How does this dua differ from the other duas in the Prophets Series?
All previous prophets' primary duas address specific needs: Adam's repentance after sin, Nuh's prayer for others, Lut's cry against corruption, Ibrahim's investment in his children's prayer. Yusuf's dua is unique — made from the peak of success, addressing only the ending. It is the dua that all the others ultimately serve. Every act of repentance, community, courage, and legacy-building exists to protect one thing: dying as a Muslim.
Q
What other duas did Prophet Yusuf make?
Three other significant moments: "My Lord, prison is more to my liking than what they invite me to" (12:33) — choosing hardship over sin; "If You do not avert their plan from me, I might incline toward them" (12:33) — honest acknowledgment of human weakness; and "No blame on you today. Allah will forgive you." (12:92) — complete forgiveness to his brothers. Together they show Yusuf turning to Allah from every position — weakness, temptation, and power.

Nothing Matters Except How the Story Ends

The boy in the well. The slave sold for coins. The prisoner, forgotten for years. The treasurer of Egypt. The son reunited with his father. The dream fulfilled exactly as shown — decades later, in ways he could never have designed.

And at the moment when everything had come together — Yusuf raised his hands and said:

تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ

Not "give me more." Not "let this last." An urgent, sincere request for the only thing that death cannot take away: a good ending.

This is what a lifetime of trials produces in a person when they are lived correctly. Not the desire for more worldly success — but the clarity to know that everything else was just the journey. The destination is Allah. The only question worth asking is whether you will arrive with your faith intact.

Make this dua today. Make it tomorrow. Make it every day for the rest of your life. Because the truth that Yusuf knew at the top of the mountain is the same truth you and I need at every point of the road: nothing matters except how the story ends.

May Allah cause us to die as Muslims. May He join us with the righteous — with the prophets, the martyrs, and the best of His servants. May our last words be La ilaha illa Allah.

آمِين يَا رَبَّ الْعَالَمِين

ZIKR CROWN x100

ZIKR CROWN x100

For More Duas, dhikr & Quranic verses 📿 Visit Our YouTube Channel

Subscribe →
Scroll to Top