Dua For Having a Baby According To Prophet Zakariya (AS)
The dua for having a baby from Prophet Zakariya (AS) is in the Qur’an: “My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication” (Qur’an 3:38). He prayed these words after seeing Maryam (AS) provided for by Allah, even though he and his wife were old and childless — and Allah answered him with a son, Yahya (AS). This guide gives both of Zakariya’s duas with Arabic, transliteration and translation, and explains how to make dua alongside medical care, because no dua guarantees a child.
Key Points
- Zakariya (AS) prayed for righteous offspring after seeing Maryam (AS) provided for (Qur’an 3:37–38).
- His duas are Qur’an 3:38 and 21:89.
- Allah answered him with Yahya (AS).
- Children are Allah’s gift — He gives to whom He wills (Qur’an 42:49–50).
- Make dua AND consult a doctor.
- No dua guarantees a child.
The Story of Prophet Zakariya (AS)
Zakariya (AS) was a prophet of Allah, and he and his wife had grown old without a child. His wife was barren, and by the time he prayed for a son he was already an old man (Qur’an 3:40; 19:5; 21:90). For a long time, it seemed as though their family line would end with them, and the worry weighed on him.
Zakariya (AS) was the guardian of Maryam (AS), the mother of Isa (AS). Whenever he visited her in the sanctuary, he found her supplied with provisions she could not have obtained herself. He asked her where it had come from, and she replied that it was from Allah. The verse ends with Allah’s words: “Indeed, Allah provides for whom He wills without account” (Qur’an 3:37). Seeing this provision, Zakariya (AS) realised that the One who provides without account could also give him a child — and so he turned to Allah in prayer (Qur’an 3:37–38).
The Dua of Prophet Zakariya for a Child — Qur’an 3:38
This is the dua Zakariya (AS) prayed when he asked Allah for a child. The words below are the relevant phrase from Qur’an 3:38 — the dua itself. The full verse begins with Zakariya calling upon his Lord: “Then and there Zakariya called upon his Lord.”
Arabic:
رَبِّ هَبْ لِي مِنْ لَدُنْكَ ذُرِّيَّةً طَيِّبَةً ۖ إِنَّكَ سَمِيعُ الدُّعَاءِ
Transliteration: Rabbi hab lee min ladunka dhurriyyatan tayyibatan, innaka samee’ud-du’aa’
Translation: “My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication.”
Notice what he asked for: not just a child, but a good offspring — a righteous child. That is the heart of the dua, and it is how every parent should pray: for children who are righteous, not only for children.
The Second Dua — Qur’an 21:89
Zakariya (AS) prayed a second dua, recorded in Qur’an 21:89. The words below are the relevant phrase from the verse — the dua itself. The full verse begins: “And [remember] Zakariya, when he called upon his Lord.”
Arabic:
رَبِّ لَا تَذَرْنِي فَرْدًا وَأَنتَ خَيْرُ الْوَارِثِينَ
Transliteration: Rabbi laa tadharnee fardan wa anta khayrul-waarithin
Translation: “My Lord, do not leave me alone [with no heir], while You are the best of inheritors.”
He did not ask only for a child — he asked Allah not to leave him alone, without an heir, while trusting that Allah is the best of inheritors. It is a dua for those who fear being left without family, and it is a dua of complete trust in Allah.
What Allah Says About Giving Children — Qur’an 42:49–50
Before making these duas, it helps to remember what Allah Himself says about giving children. The words below are the relevant phrase from Qur’an 42:49–50 — the part that speaks of Allah giving children to whom He wills.
Arabic:
يَهَبُ لِمَن يَشَاءُ إِنَاثًا وَيَهَبُ لِمَن يَشَاءُ الذُّكُورَ، أَوْ يُزَوِّجُهُمْ ذُكْرَانًا وَإِنَاثًا ۖ وَيَجْعَلُ مَن يَشَاءُ عَقِيمًا
Transliteration: Yahabu liman yashaa’u inaathan wa yahabu liman yashaa’u adh-dhukoor, aw yuzawwijuhum dhukraanan wa inaathan, wa yaj’alu man yashaa’u ‘aqeema
Translation: “He gives to whom He wills female [children], and He gives to whom He wills males. Or He makes them [both] males and females, and He renders whom He wills barren.”
Children are Allah’s gift, given to whom He wills — daughters to some, sons to others, both to some, and none to others whom He wills to remain without children. No one earns a child, and no one is owed one. That is why the dua is made with hope and trust, never with a demand — and why no dua can guarantee a child.
Dua and Medical Care Go Together
Making dua for a child and seeking medical help are not opposites — they go together. If you are facing difficulty conceiving, consult a doctor and follow their advice, while continuing to make dua. Seeking treatment is part of taking the means Allah has provided, and making dua is part of trusting Him. The two belong together.
Assisted-reproduction treatments such as IVF are a medical matter, and their rulings vary from one situation to another. Couples considering them should ask qualified scholars about their own circumstances rather than relying on general reassurance. What the Qur’an promises is that Allah hears the dua of those who call upon Him — it does not promise a child to everyone who asks, and no dua in this post guarantees one.
This post shares duas from the Qur’an for couples hoping for a child. It is not medical advice. If you are having difficulty conceiving, please speak to a doctor — dua and medical care belong together, and getting help is part of taking the means Allah has provided.
How to Make This Dua
There is no fixed time or number of repetitions prescribed for these duas — recite them sincerely and often, especially after your prayers, and keep making them over time. Zakariya (AS) was already old when he prayed, and he had waited a long time; the answer came in Allah’s time, not his. Make the dua a regular part of your prayers, ask for righteous offspring, and be patient with Allah’s decree.
- Recite the duas after your daily prayers, or whenever you remember them.
- Ask for righteous offspring — a good child, not only a child.
- Pray with sincerity and hope, trusting that Allah hears every dua.
- Keep praying over time — Zakariya (AS) waited many years before his dua was answered.
- Make dua alongside medical care, and consult a doctor if you are facing difficulty conceiving.
More Duas for Daily Life
The duas of Zakariya (AS) are part of a wider pattern of turning to Allah in every part of life. You can learn the dua for a newly married couple, the dua for parents, the dua for shifa for health improvement, the dua of Yunus, the dua for rain, and the dua for istikhara — each one a way to ask Allah for help in a different moment of life.
Frequently Asked Questions
What is the dua of Prophet Zakariya for a child?
The dua is in Qur’an 3:38: Rabbi hab lee min ladunka dhurriyyatan tayyibatan, innaka samee’ud-du’aa’ (My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication). He also prayed the dua of Qur’an 21:89: Rabbi laa tadharnee fardan wa anta khayrul-waarithin (My Lord, do not leave me alone [with no heir], while You are the best of inheritors).
What does Qur’an 21:89 mean?
It means: My Lord, do not leave me alone [with no heir], while You are the best of inheritors. Zakariya (AS) asked Allah not to leave him without an heir, trusting that Allah is the best of inheritors — the One who remains when all else passes away.
Can dua help with infertility?
Yes. Dua is a means Allah has given us, and Zakariya’s dua was answered with a son. But no dua guarantees a child — Allah gives children to whom He wills (Qur’an 42:49-50). Make dua, and also consult a doctor.
Should I see a doctor as well as making dua?
Yes. Dua and medical care go together. Consult a doctor if you are facing difficulty conceiving, and follow their advice while continuing to make dua. Seeking treatment is part of taking the means Allah has provided.
What did Allah say about giving children?
In Qur’an 42:49-50, Allah says He gives to whom He wills daughters, and to whom He wills sons, or both, and He renders whom He wills without children. Children are Allah’s gift, given by His will alone.
How long did Zakariya (AS) wait for a child?
The Qur’an does not give a number of years. We know he was already an old man when he prayed (Qur’an 3:40), and that he and his wife had waited a long time. The lesson is patience — keep praying, and trust Allah’s timing.
Sources: The Holy Qur’an (Surah Aal-e-Imran 3; Surah al-Anbiya 21; Surah ash-Shura 42; Surah Maryam 19)
