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 in the Hereafter. Cause me to die a Muslim and join me with the righteous."
26:83
رَبِّ هَبْ لِ ى حُكْمًا وَ أَلْحِقْ نِى بِ ٱل صَّٰلِحِينَ
[And he said], "My Lord, grant me authority and join me with the righteous.
34:27
قُلْ أَرُ و نِىَ ٱلَّذِينَ أَلْحَقْ تُم بِ هِۦ شُرَكَآءَ كَلَّا بَلْ هُوَ ٱللَّهُ ٱلْ عَزِيزُ ٱلْ حَكِيمُ
Say, "Show me those whom you have attached to Him as partners. No! Rather, He [alone] is Allah, the Exalted in Might, the Wise."
52:21
وَ ٱلَّذِينَ ءَامَنُ وا۟ وَ ٱتَّبَعَتْ هُمْ ذُرِّيَّتُ هُم بِ إِيمَٰنٍ أَلْحَقْ نَا بِ هِمْ ذُرِّيَّتَ هُمْ وَ مَآ أَلَتْ نَٰ هُم مِّنْ عَمَلِ هِم مِّن شَىْءٍ كُلُّ ٱمْرِئٍۭ بِ مَا كَسَبَ رَهِينٌ
And those who believed and whose descendants followed them in faith - We will join with them their descendants, and We will not deprive them of anything of their deeds. Every person, for what he earned, is retained.