[12:101] – Supplication To Die A Muslim And To Be Joined With The Righteous

(اَللّٰهُمَّ يَا) فَاطِرَ السَّمٰوَاتِ وَالْأَرْضِ أَنْتَ وَلِـيِّيْ فِي الدُّنْيَا وَالْآخِرَةِ تَوَفَّنِيْ مُسْلِمًا وَّأَلْحِقْنِيْ بِالصَّالِحِيْنَ.

Creator of the heavens and earth, You are my protector in this world and in the Hereafter. Cause me to die a Muslim and join me with the righteous.

(Allahumma ya) Fatirassamawati walarḍi Anta waliyyi fiddunya walakhirah, tawaffani Muslimawwa alhiqni biṣṣalihin.

Prophet Yusuf asks Allah to make him steadfast upon Islam so that he dies a Muslim, just as he was blessed with Islam throughout his entire life. This is an enormous blessing and one that only Allah can grant, for He is our protector in this life and the Hereafter. -Tafseer As-Sa’di and others.