Surah Yusuf 12:101
۞ رَبِّ قَدْ ءَاتَيْتَنِى مِنَ ٱلْمُلْكِ وَعَلَّمْتَنِى مِن تَأْوِيلِ ٱلْأَحَادِيثِ ۚ فَاطِرَ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضِ أَنتَ وَلِىِّۦ فِى ٱلدُّنْيَا وَٱلْـَٔاخِرَةِ ۖ تَوَفَّنِى مُسْلِمًا وَأَلْحِقْنِى بِٱلصَّـٰلِحِينَ
My Lord, You have given me [something] 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."
Translation: Saheeh International
Tafsir
When he was nearing his end realising that he would not remain alive forever he longed for the everlasting kingdom and said My Lord indeed You have given me something of sovereignty and You have taught me the interpretation of events the ability to explain dreams. …
Excerpt from Tafsir al-Jalalayn, commentary on 12:101, via Quran.com. The reader has the full commentary and 9 more tafsirs.