prophet yahya

  • Dua of Zakariyya: Three Qur’anic Prayers for a Righteous Child

    Dua of Zakariyya: Three Qur’anic Prayers for a Righteous Child

    By Dr. Malik Sherjeel Awan, PsyD

    Published by Dr. Malik Sherjeel Awan, Makkah

    Prophet Zakariyya (Zechariah), peace be upon him, was an old man with a wife the Qur’an describes as barren. He longed for a righteous child to carry on his mission. His prayer for that child is recorded three times in the Qur’an, each time with different words, and Allah answered him with the gift of Yahya (John).

    This page brings together the three duas of Zakariyya (3:38, 19:3–6 and 21:89) with Arabic, transliteration and translation, the story around them, and what they teach about asking Allah for something that seems out of reach.

    What moved him to pray

    Zakariyya was the guardian of Maryam (Mary), the future mother of Isa. The Qur’an says: “Every time Zechariah entered upon her in the prayer chamber, he found with her provision. He said, ‘O Mary, from where is this [coming] to you?’ She said, ‘It is from Allāh. Indeed, Allāh provides for whom He wills without account’” (3:37).

    The very next word is hunālika, “at that”, or “right there”: “At that, Zechariah called upon his Lord” (3:38). Seeing Allah’s provision arrive in unexpected ways stirred his own hope. If Allah provides “without account”, He could grant a child even now.

    Dua 1: “Grant me from Yourself a good offspring” (3:38)

    رَبِّ هَبْ لِى مِن لَّدُنكَ ذُرِّيَّةً طَيِّبَةً ۖ إِنَّكَ سَمِيعُ ٱلدُّعَآءِ

    Transliteration: Rabbi hab lī mil-ladunka dhurriyyatan ṭayyibah, innaka samīʿud-duʿā’.

    Translation: “My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication” (3:38).

    • Hab lī, “grant me / gift me”: he asks for a gift, not a right.
    • Min ladunka, “from Yourself”, from Your own presence. He knew ordinary means had run out.
    • Dhurriyyatan ṭayyibah, “a good (pure) offspring”. He asked for goodness, not only for a child.
    • Innaka samīʿud-duʿā’, “You are the Hearer of supplication”. He ends with a Name of Allah that fits the request.

    Dua 2: the private call (19:3–6)

    Surah Maryam opens with this story: “[This is] a mention of the mercy of your Lord to His servant Zechariah. When he called to his Lord a private call [i.e., supplication]” (19:2–3). The word khafiyya means quiet or hidden. This was an intimate prayer, not a public performance.

    قَالَ رَبِّ إِنِّى وَهَنَ ٱلْعَظْمُ مِنِّى وَٱشْتَعَلَ ٱلرَّأْسُ شَيْبًا وَلَمْ أَكُنۢ بِدُعَآئِكَ رَبِّ شَقِيًّا

    Transliteration (19:4): Qāla rabbi innī wahanal-ʿaẓmu minnī washtaʿalar-ra’su shaybaw-wa lam akum bi duʿā’ika rabbi shaqiyyā.

    Translation: “He said, ‘My Lord, indeed my bones have weakened, and my head has filled with white, and never have I been in my supplication to You, my Lord, unhappy [i.e., disappointed]’” (19:4). He continues: “And indeed, I fear the successors after me, and my wife has been barren, so give me from Yourself an heir Who will inherit me and inherit from the family of Jacob. And make him, my Lord, pleasing [to You]” (19:5–6).

    This is a model of how to ask:

    • He describes his weakness honestly: weak bones, white hair. He doesn’t hide his limits.
    • He recalls Allah’s past kindness: “never have I been in my supplication to You, my Lord, unhappy.” In other words: You have never let me down when I called on You.
    • He explains his concern: who will carry on the guidance after him?
    • He asks for character: “make him, my Lord, pleasing [to You].”

    Dua 3: “Do not leave me alone” (21:89)

    رَبِّ لَا تَذَرْنِى فَرْدًا وَأَنتَ خَيْرُ ٱلْوَٰرِثِينَ

    Transliteration: Rabbi lā tadharnī fardaw-wa anta khayrul-wārithīn.

    Translation: “My Lord, do not leave me alone [with no heir], while You are the best of inheritors” (21:89).

    This is the shortest of the three and perhaps the most tender. Fardan means alone, single. Then comes a striking line: “You are the best of inheritors.” Even as he asks for an heir, Zakariyya acknowledges that in the end everything returns to Allah. He asks with longing, but without making his peace depend on the answer.

    The answer

    “So the angels called him while he was standing in prayer in the chamber, ‘Indeed, Allāh gives you good tidings of John’” (3:39). Surah Maryam adds: “O Zechariah, indeed We give you good tidings of a boy whose name will be John. We have not assigned to any before [this] name” (19:7).

    Zakariyya asked in wonder: “My Lord, how will I have a boy when my wife has been barren and I have reached extreme old age?” (19:8). The reply: “It is easy for Me, for I created you before, while you were nothing” (19:9). He asked for a sign, and was told he wouldn’t speak to people for three nights while in good health (19:10), and so he signalled to his people to glorify Allah morning and afternoon (19:11).

    Surah al-Anbiya sums up: “So We responded to him, and We gave to him John, and amended for him his wife. Indeed, they used to hasten to good deeds and supplicate Us in hope and fear, and they were to Us humbly submissive” (21:90). Notice that the verse praises the whole household for their good deeds and their way of praying: “in hope and fear”.

    And the child was everything Zakariyya had asked for. Of Yahya, Allah says: “And We gave him judgement [while yet] a boy And affection from Us and purity, and he was fearing of Allāh And dutiful to his parents” (19:12–14).

    A note from the Sahih hadith

    The Prophet ﷺ said: “Zakariyya (peace be upon him) was a carpenter” (Sahih Muslim 2379). A prophet, a guardian of Maryam, and a man who worked with his hands. Prayer and honest work went together in his life.

    Lessons from the duas of Zakariyya

    1. Let signs of Allah’s generosity revive your hope

    Zakariyya prayed “at that” moment, right after seeing Maryam’s provision (3:38). Noticing Allah’s kindness to others can inspire hope rather than envy.

    2. Pray privately and honestly

    His call was khafiyya, quiet (19:3). Some of our deepest requests belong in the quiet of the night, in our own words.

    3. Remind yourself of past answers

    “Never have I been in my supplication to You, my Lord, unhappy” (19:4). Before asking, remember how Allah has answered you before.

    4. Ask for goodness, not only for the thing

    He asked for a child who would be “good” and “pleasing”. Our duas can ask for blessing in what we receive, not only for receiving it.

    5. Keep asking without despair

    The Prophet ﷺ said a person’s dua is answered “if he does not show impatience (by saying, ‘I invoked Allah but my request has not been granted.’)” (Sahih al-Bukhari 6340). Allah also says: “I respond to the invocation of the supplicant when he calls upon Me” (2:186).

    A gentle word for those waiting for a child

    Many couples recite these duas while hoping for children. They are beautiful, Qur’anic words to use. But they are not a formula with a guaranteed result, and it would be unkind to suggest that anyone who hasn’t had a child hasn’t prayed well enough. Allah answers in the way and at the time He knows best, and His answer may look different from what we asked for.

    Waiting can bring grief, pressure from family and painful comments. Pray, and also take the means: see a qualified doctor, look after each other, and seek support if the strain is affecting your mood or your marriage. Zakariyya ended his dua with “You are the best of inheritors”. Our worth, and our place with Allah, doesn’t depend on any one outcome.

    FAQ

    What is the dua of Zakariyya for children?
    The best known is 3:38: Rabbi hab lī mil-ladunka dhurriyyatan ṭayyibah, innaka samīʿud-duʿā’. Others are 19:4–6 and 21:89.

    Which son was Zakariyya given?
    Prophet Yahya (John), 3:39, 19:7, 21:90.

    Is the dua of Zakariyya guaranteed to bring a child?
    No. It is a Qur’anic way of asking. Outcomes are with Allah. Keep praying and seek medical advice.

    Was Zakariyya’s wife able to have children?
    The Qur’an describes her as barren (3:40, 19:5, 19:8), and says Allah “amended for him his wife” (21:90).

    In this series · All stories of the prophets

    Previous: The dua of Yunus (21:87)

    Next: Prophet Yahya

    Related reading

    Qur’an translations are from Sahih International. Hadith are from Sahih al-Bukhari and Sahih Muslim, checked on sunnah.com. Educational reflection only, not a religious ruling or medical advice.

    Sources

    • Qur’an (Sahih International via quran.com; Arabic, word-by-word and translation checked through api.quran.com on 24 Nov 2026): 2:186, 3:37–40, 19:2–14, 21:89–90
    • Sahih Muslim 2379 (Zakariyya was a carpenter) sunnah.com/muslim:2379
    • Sahih al-Bukhari 6340 (dua answered unless one becomes impatient) sunnah.com/bukhari:6340