وَوَصَّيْنَا ٱلْإِنسَـٰنَ بِوَٰلِدَيْهِ إِحْسَـٰنًا ۖ حَمَلَتْهُ أُمُّهُۥ كُرْهًا وَوَضَعَتْهُ كُرْهًا ۖ وَحَمْلُهُۥ وَفِصَـٰلُهُۥ ثَلَـٰثُونَ شَهْرًا ۚ حَتَّىٰٓ إِذَا بَلَغَ أَشُدَّهُۥ وَبَلَغَ أَرْبَعِينَ سَنَةً قَالَ رَبِّ أَوْزِعْنِىٓ أَنْ أَشْكُرَ نِعْمَتَكَ ٱلَّتِىٓ أَنْعَمْتَ عَلَىَّ وَعَلَىٰ وَٰلِدَىَّ وَأَنْ أَعْمَلَ صَـٰلِحًا تَرْضَىٰهُ وَأَصْلِحْ لِى فِى ذُرِّيَّتِىٓ ۖ إِنِّى تُبْتُ إِلَيْكَ وَإِنِّى مِنَ ٱلْمُسْلِمِينَ ﴿15﴾
15 And We have commended unto man kindness toward parents. His mother beareth him with reluctance, and bringeth him forth with reluctance, and the bearing of him and the weaning of him is thirty months, till, when he attaineth full strength and reacheth forty years, he saith: My Lord! Arouse me that I may give thanks for the favour wherewith Thou hast favoured me and my parents, and that I may do right acceptable unto Thee. And be gracious unto me in the matter of my seed. Lo! I have turned unto Thee repentant, and lo! I am of those who surrender (unto Thee).
Al-Ahqaf 46:15 on Quran.com · Pickthall’s translation
You came into this world quite literally connected to another person. The Quran keeps reminding you that your bond with Allah and your bonds with family are not separate. Keeping family ties is part of being a believer, and it shapes your spiritual life. You cannot cut everyone off and call it getting closer to Allah. Al-Ahqaf 46:15 brings all of this together in one verse, and ends with one of the most complete duas in the Quran.
It begins: We have instructed the human being to be good to his parents. Then Allah gives the reason, so you feel it: his mother carried him with hardship and delivered him with hardship, and his carrying and weaning take thirty months (al-Ahqaf 46:15). In a culture that says it is all about me, this is a reset. You did not arrive on your own. Someone went through great pain for you to be here. And unlike a foal that stands within minutes, you could not even hold up your own head. Someone did that for you.
The verse goes on: until he reaches his full strength and reaches forty years. The commentators explain that this is an age of strength, not only of body but of mind and spirit. At that point, if he is given the success to do it, he says: My Lord, inspire me to be grateful for the favour You have blessed me and my parents with. Gratitude itself is something you ask for. The good in your life is not from you; it is from Allah. If you notice yourself always seeing the negative, make this dua. The believer learns to find good in every situation, even seeing a hardship as a chance to grow stronger.
Notice that you thank Allah for the favours on your parents too. The scholars ask why, and the answer is simple: whatever blessing reached your parents, some of it reached you, whether a little or a lot. Then you ask: and to do righteous deeds that please You. You cannot do anything good without Allah’s permission, so you turn to Him first, then give it everything. And the words that please You matter. Something can look righteous to you and still not be pleasing to Allah. You are asking for deeds that are good and that He loves.
Then you look forward: and make my children righteous for me. One of the greatest joys is to see your children blessed, and one of the hardest things is to watch them struggle. The Prophet ﷺ said that when a person dies, his deeds stop except for three, and one of them is a righteous child who prays for him. A righteous child is a gift that keeps working for you after you are gone.
The dua closes: I have turned to You in repentance, and I am one of those who submit. The scholars say every dua should carry repentance with it. However high you climb, you never outgrow tawbah. Many commentators say the verse came down about Abu Bakr as-Siddiq, who was unusual among the companions: both his parents and all his children accepted Islam. For anyone who came to Islam themselves, few blessings compare to seeing their own parents say there is no god but Allah.
Still, the dua is for all of us, at any age. Read it with the meaning in mind: thanks for what came before you, help for what you do now, goodness for those after you, and a return to Allah through it all. For more on why gratitude matters so much in the Quran, see why the Quran calls ingratitude kufr.