What Was Yusuf’s Prayer at the End of the Surah, and What Does It Teach?
بمَ دعا يوسف عليه السلام في ختام السورة، وما الذي يُستفاد من دعائه؟
Allah Almighty says: Yusuf pbuh prayed to his Lord saying: “My Lord! You have surely granted me authority and taught me the interpretation of dreams. ˹O˺ Originator of the heavens and the earth! You are my Guardian in this world and the Hereafter. Allow me to die as one who submits and join me with the righteous.” (Yusuf 12:101)
After mentioning the grace of Allah, he started praying and mentioned several things:
The first is the recognition of the pleasures of this world that Allah has bestowed upon him: the grace of ruling on earth, and the second grace is the grace of knowledge.
Second, the other grace of the Hereafter which is the grace of the true religion, Islam.
Third, Yusuf pbuh called on the Lord of Honor, saying “My Lord!” and addressing Him as “Originator,” the Creator of the heavens and the earth without any prior model.
Fourth: He asked Allah Almighty for protection and support, “You are my Protector” in this world and the hereafter.
Fifth: “Allow me to die as one who submits”: this is a reference to the great grace that Allah has bestowed upon him, which is the true religion, he asks Him to remain on that religion till the time of death.
Six: He asks his Lord to join him with those righteous servants of Allah who preceded him, who were committed to obedience.
This prayer is meant to teach a number of things, including:
First, the greatest blessing of Allah on His creation is the blessing of Islam; to live and die as a Muslim. Therefore Yusuf pbuh asked his Lord, and Muhammad pbuh asked him that also: he said: “O Allah, the Turner of hearts, fix my heart on your religion.”
Second: no matter how many graces and blessings the human being is given, they are temporary and will pass away and what remains is only the bliss of the Hereafter, and the grace of religion. That is why Yusuf pbuh asked his Lord for the protection of his faith and he did not ask for the protection of authority.
Thirdly, what man is given from the worldly bliss is something scarce, and the knowledge that he is given compared to Allah’s knowledge is negligible, so Yusuf pbuh says: “[something] of sovereignty”, “from the interpretation of dreams”, i.e. some of the sovereignty, and some of the knowledge.
Fourth: Whatever blessings man has now, and whatever happens to him in the near or distant future are from Allah and not from anyone else, so you find Yusuf pbuh attributing grace to the Bestower, Almighty, “My Lord! You have surely granted me”, He also asks Him for victory and success, “You are my Guardian in this world and the Hereafter”, without His Grace man would perish.
Fifth: And those blessings that Allah grants His creations, are not a reward for some good that man had done towards his Lord, but they are purely a virtue of Allah over His creation, and therefore Yusuf pbuh says, “My Lord! You have surely granted me”, i.e. You gave me, a gift that was not a repayment of any good man had done, it is but a gift from Allah the Generous and Honoured.
قال الله تعالى حاكيًا دعاء يوسف: “رَبِّ قَدْ آتَيْتَنِي مِنَ الْمُلْكِ وَعَلَّمْتَنِي مِنْ تَأْوِيلِ الأحَادِيثِ فَاطِرَ السَّمَاوَاتِ وَالأرْضِ أَنْتَ وَلِيِّي فِي الدُّنْيَا وَالآخِرَةِ تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ” (يوسف 12: 101)
وذلك أنه بعد أن ذكر نعمة الله عليه توجّه إلى مناجاة ربه، وقد ذكر عدة أمور:
أولها: الاعتراف بنعم الدنيا التي أنعم الله بها عليه، وهي: نعمة الولاية في الأرض، والنعمة الثانية: هي نعمة العلم
ثانيها: النعمة الأخروية وهي نعمة الدين الحق وهو الإسلام
ثالثها: نادى يوسف رب العزة جل وعلا بقوله: (رب) و(فاطر): أي خالق السماوات والأرض وموجدها على غير مثال سابق
رابعها: سأل الله عز وجل الولاية، وهي النصرة والتأييد، “أنت وليي” في الدنيا والآخرة.
خامسها: “توفني مسلمًا”: وفي ذلك إشارة إلى النعمة العظمى التي امتن الله بها عليه، وهي الدين الحق، فهو يسأل الدوام عليه إلى الوفاة
سادسها: يسأل ربه عز وجل أن يجعله مدركًا للذين سبقوه من عباد الله الصالحين، وهم المتصفون بالصلاح وهو التزام الطاعة
يستفاد من هذا الدعاء عدة أمور، منها:
أولاً: أن أعظم نعمة من الله على عبده هي الإسلام: الحياة عليه والموت عليه، ولذلك سأله يوسف ربه، وسأله محمد ﷺ كما في قوله: اللهم يا مقلب القلوب ثبت قلبي على دينك
ثانيًا: مهما أُعطي الإنسان من نعم فهي فانية ذاهبة ولا يبقى إلا نعيم الآخرة، ونعمة الدين، ولذلك سأل يوسف ربه بقاء نعمة الدين، ولم يسأل بقاء المُلك
ثالثًا: ما يعطاه العبد من النعيم الدنيوي هو شيء يسير، وما يعطاه من العلم في جنب علم الله شيء لا يكاد يذكر، ولذا يقول يوسف: “مِنَ الْمُلْكِ”، “مِنْ تَأْوِيلِ الأحَادِيثِ”، أي بعضًا من المُلك، وبعضًا من العلم
رابعًا: ما يكون للعبد من نعمة حديثة وما يحدث له من نعم في المستقبل القريب أو البعيد إنما هي من الله لا من سواه، ولذا تجد يوسف ينسب النعمة إلى المنعم سبحانه وتعالى: “رَبِّ قَدْ آتَيْتَنِي”، كما أنه يسأله النصرة والتوفيق، “أَنْتَ وَلِيِّي فِي الدُّنْيَا وَالآخِرَةِ”، فلولا إنعامه لهلك العبد
خامسًا: وتلك النعم الجليلة التي ينعم الله بها على عبده ليست لسابق إحسان من العبد لربه جل جلاله، بل هي محض فضل من الله على عبده، ولذا يقول يوسف: “قَدْ آتَيْتَنِي” أي أعطيتني، وهو عطاء لم يكن له ما يقتضيه من فعل العبد لكنه كرم الكريم جل جلاله وتقدست أسماؤه.
1. The Same Prayer, Now With Its Full Context | الدعاء نفسه مشروحًا
This is the same closing supplication cited on the prayer of Prophet Yusuf, which preserves the verse itself. What this page adds is the surrounding exegesis, the six things Yusuf names within the prayer and the five lessons scholars draw from it, none of which the shorter page covers.
هذا هو الدعاء الذي ختم به يوسف عليه السلام، وقد ذكرنا الآية نفسها في جواب: بمَ دعا يوسف عليه السلام بعد قدوم أبويه مصر؟ وما يضيفه هذا الجواب هو ما حول الآية من تفسير: الأمور الستة التي ذكرها يوسف في دعائه، والدروس الخمسة التي يستنبطها العلماء منه، وليس شيء من ذلك في الجواب الأقصر.
2. Naming Two Blessings Among Many | نعمتان من نعم كثيرة
By this point in the surah, Yusuf had regained his freedom, his family, and his father’s sight, yet his prayer names only rule and the interpretation of dreams by name. Scholars read this as representative rather than exhaustive gratitude, naming the blessings closest to his own role and character as a stand-in for everything Allah had given him.
كان يوسف عليه السلام عند هذا الموضع من السورة قد استعاد حريته واجتمع بأهله، وعاد إلى أبيه بصره، ومع ذلك لم يسمّ في دعائه إلا المُلك وتأويل الأحاديث: (رَبِّ قَدْ آتَيْتَنِي مِنَ الْمُلْكِ وَعَلَّمْتَنِي مِن تَأْوِيلِ الْأَحَادِيثِ) (يوسف 12: 101). ويرى العلماء في ذلك شكرًا يذكر بعض النعم ولا يستقصيها، إذ ذكر أقرب النعم إلى مقامه وشخصه، تعبيرًا عن كل ما أعطاه الله.
3. Asking to Die a Muslim, Not to Reign Longer | سؤال الوفاة على الإسلام لا دوام المُلك
At the peak of his worldly authority, Yusuf’s request is not for the throne to last or for greater power, but for his life to end in submission to Allah. This ordering, asking for the safety of his faith rather than the continuation of his rule, is treated as the clearest evidence in the prayer of what he actually valued most. The prayer follows the reunion and fulfillment of his dream, as explained in Yusuf’s explanation of his fulfilled dream to his father.
في أوج سلطانه الدنيوي لم يسأل يوسف عليه السلام دوام العرش ولا مزيد القوة، بل سأل أن يختم الله حياته على الإسلام: (تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ) (يوسف 12: 101). ويُعدّ تقديمه سلامة دينه على بقاء مُلكه أوضح ما في الدعاء دلالةً على ما كان أعزّ شيء عنده. وقد جاء هذا الدعاء بعد اجتماع الأسرة وتحقق رؤياه، كما بيّنا في جواب: كيف تحققت رؤيا يوسف عليه السلام التي رأى فيها أحد عشر كوكبًا وهو صغير؟
4. Asking to Join the Righteous, Not Just to Be Saved | سؤال اللحاق بالصالحين لا النجاة وحدها
Yusuf’s final request is not framed only around his own individual salvation, but around being joined with the righteous who came before him. Scholars note this as a communal vision of the Hereafter, wanting to belong among the righteous rather than simply to escape punishment alone.
لم يقصر يوسف عليه السلام سؤاله الأخير على نجاته هو، بل سأل أن يُلحق بالصالحين الذين سبقوه. ويرى العلماء في ذلك تطلّعًا إلى صحبة الصالحين في الآخرة، فهو يرجو أن يكون في زمرتهم، لا أن ينجو من العذاب وحده.
5. A Prayer Later Echoed by the Prophet Muhammad | الثبات على الدين همُّ الأنبياء
The concern for one’s faith remaining firm until death did not end with Yusuf. The Prophet Muhammad ﷺ is reported to have prayed, “O Turner of hearts, keep my heart firm upon Your religion,” a request scholars point to as the same underlying concern voiced across different prophets in different eras, that steadfastness in faith matters more than any circumstance surrounding it.
لم يقف الحرص على الثبات على الدين حتى الموت عند يوسف عليه السلام، فقد رُوي أن النبي صلى الله عليه وسلم دعا: “يا مقلب القلوب ثبت قلبي على دينك”، ويرى العلماء في هذا الدعاء الهمَّ نفسه الذي حمله الأنبياء في عصور مختلفة: أن الثبات على الدين أهم من كل ما يحيط بالمرء من أحوال.
Scholarly Insight: Al-Sa’di clarifies Yusuf’s request (12:101): “This was not a supplication to hasten death.” The Prophet Muhammad ﷺ said (Sahih al-Bukhari 5671): “None of you should wish for death because of harm that has afflicted him. If he must do so, let him say: O Allah, keep me alive as long as life is better for me, and cause me to die when death is better for me.” See Yusuf’s prayer after his parents arrived. Read the fuller context in the tafsir of Surah Yusuf.
Frequently Asked Questions | الأسئلة الشائعة
What did Yusuf pray for at the end of the surah?
He thanked Allah for granting him authority and the interpretation of dreams, then asked to die in submission to Allah and be joined with the righteous.
Did Yusuf ask for his rule to continue?
No, he asked instead for the safety of his faith until death, not for more worldly power.
What is the greatest lesson scholars draw from this prayer?
That the greatest blessing from Allah is Islam itself, to live and die upon it, above any worldly gift.
Did Yusuf ask only for his own salvation?
No, he asked to be joined with the righteous, a request framed around belonging with them, not only personal rescue.
Which verse of the Quran records this prayer?
Surah Yusuf 12:101.
Prepared by Eng. Ghada Homad, founder of IslamFAQ, researched and written in consultation with qualified scholars, reviewed by Professor Khaled Jassem Al-Houli, Associate Professor of Comparative Jurisprudence and Islamic Politics, Faculty of Sharia and Islamic Studies, University of Kuwait. Read more about the authors and this project →