Joseph is an important figure in the Bible’s Book of Genesis. In the biblical narrative, Joseph was sold into slavery by his jealous brothers, and rose to become vizier, the second most powerful man in Egypt next to Pharaoh, where his presence and office caused Israel to leave Canaan and settle in Egypt. Wikipedia
The Dua of Prophet Yusuf A.S
For Allah SWT to make him die as a Muslim.
فَاطِرَ السَّمَاوَاتِ وَالأَرْضِ أَنتَ وَلِيِّي فِي الدُّنُيَا وَالآخِرَةِ تَوَفَّنِي مُسْلِمًا وَأَلْحِقْنِي بِالصَّالِحِينَ
Fatira alssamawati waalardi anta waliyyee fee alddunya waalakhirati tawaffanee musliman waalhiqnee bialssaliheena
The Creator of the heavens and the earth! You are my Wali (Protector, Helper, Supporter, Guardian, etc.) in this world and in the Hereafter, cause me to die as a Muslim (the one submitting to Your Will), and join me with the righteous. – Quran 12:101