The Story of Prophet Zakariya: The Du’a for a Child

The prophet Zakariya story is a story of du’a: a quiet, humble supplication made in old age that Allah answered with a miracle.

Zakariya (Zechariah, peace be upon him) was a prophet of Bani Isra’il, the guardian of Maryam and the father of Prophet Yahya.

The Quran records his prayers in Surah Al-Imran, Surah Maryam and Surah Al-Anbiya, and they have become some of the most beloved du’as for those longing for children or for any blessing that seems out of reach.

This guide covers who Zakariya was, his guardianship of Maryam, his du’a for a child, the sign Allah gave him, his son Yahya and the lessons for believers.

Who Was Prophet Zakariya?

Detail Information
Name in Arabic Zakariyya (زكريا)
People Bani Isra’il
Role Prophet and guardian of Maryam
Wife A relative of Maryam’s mother
Son Prophet Yahya
Main surahs Al-Imran, Maryam, Al-Anbiya
Known for His humble, secret du’a

Guardian of Maryam

When Maryam’s mother dedicated her to Allah’s service, the scholars of the temple competed to take care of her.

They cast lots, and Zakariya was chosen: “And He put her in the care of Zakariya” (Al-Imran 3:37).

Provision from Allah

“Every time Zakariya entered upon her in the prayer chamber, he found with her provision. He said: O Maryam, from where is this for you? She said: It is from Allah. Indeed, Allah provides for whom He wills without account” (3:37).

The Du’a for a Child

Inspired by Maryam

“At that, Zakariya called upon his Lord, saying: My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication” (Al-Imran 3:38).

Seeing Allah’s provision for Maryam moved him to ask for what seemed impossible.

A secret, humble call

“When he called to his Lord a private supplication. 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” (Maryam 19:3–4).

His concern for the religion

“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 Ya’qub. And make him, my Lord, pleasing” (19:5–6).

He wanted a child to carry the message, not only for personal joy.

In Surah Al-Anbiya

“And Zakariya, when he called to his Lord: My Lord, do not leave me alone, and You are the best of inheritors” (21:89).

The Answer

“O Zakariya, indeed We give you good tidings of a boy whose name will be Yahya. We have not assigned to any before this name” (Maryam 19:7).

The sign of silence

Zakariya asked for a sign. Allah said: “Your sign is that you will not speak to the people for three nights, being sound” (19:10).

He came out to his people from the prayer chamber and signalled to them to glorify Allah morning and evening.

Stage Event
1 Zakariya becomes guardian of Maryam
2 He sees provision with her
3 He makes a secret du’a for a child
4 Angels give glad tidings of Yahya
5 Sign: three days without speaking
6 Yahya is born and becomes a prophet

Why Allah Answered

Allah explains: “So We responded to him, and We gave to him Yahya, 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” (Al-Anbiya 21:90).

Three qualities:

  1. Hastening to good deeds.
  2. Du’a with hope and fear.
  3. Humility before Allah.

Lessons From the Story of Prophet Zakariya

1. Make du’a for the impossible

Old age and barrenness did not stop his du’a. Nothing is too great for Allah.

2. Praise Allah and admit your weakness

His du’a began by describing his weakness and Allah’s past kindness: “Never have I been unhappy in my supplication to You.”

3. Du’a in private

“A private supplication” shows the value of secret, sincere prayer.

4. Let others’ blessings inspire you

Seeing Maryam’s provision did not create envy; it inspired du’a.

5. Ask for children who serve the religion

His goal was an heir to faith.

6. Couples together in worship

Allah praised both Zakariya and his wife as hastening to good.

Du’as of Zakariya to Memorise

Du’a Meaning
Rabbi hab li min ladunka dhurriyyatan tayyibah My Lord, grant me from Yourself good offspring
Rabbi la tadharni fardan wa anta khayrul-warithin My Lord, do not leave me alone, and You are the best of inheritors

Where This Story Appears in the Quran

The account of Zakariya is found mainly in Surahs Al-Imran, Maryam and Al-Anbiya.

The Quran does not tell prophetic stories in the style of a history book, with every date and detail.

Instead, it returns to the same figures in different surahs, each time highlighting a particular lesson suited to that surah’s theme.

Reading the verses in their surah context, rather than as isolated quotations, reveals why Allah chose to mention Zakariya at that point and what message He wanted the first listeners in Makkah and Madinah to take from it.

Study step What to do
1. Read Recite the verses about Zakariya in Arabic, even slowly
2. Translate Read a reliable translation line by line
3. Context Note what comes before and after the passage
4. Tafsir Consult a trusted tafsir for explanations
5. Theme Identify the main lesson: persistent du’a
6. Act Choose one action to apply this week

Why Allah Tells Us the Stories of the Prophets

Allah says: “In their stories there is truly a lesson for those of understanding. It is not a fabricated narration, but a confirmation of what was before it, a detailed explanation of all things and guidance and mercy for a people who believe” (Yusuf 12:111).

He also told the Prophet ﷺ: “And each story We relate to you from the news of the messengers is that by which We make firm your heart” (Hud 11:120).

These two verses give us the purpose of reading about Zakariya. First, the stories are true; they are not myths or legends.

Second, they strengthen the heart.

The Prophet ﷺ faced rejection, mockery, boycott and war, and Allah comforted him by showing him that earlier prophets had faced similar trials and that the outcome always belonged to the believers.

When we face our own difficulties, these same stories strengthen us.

Third, the stories show that all prophets brought one message: worship Allah alone.

“And We sent not before you any messenger except that We revealed to him that there is no deity except Me, so worship Me” (Al-Anbiya 21:25).

Zakariya was part of this single chain of guidance that ended with Muhammad ﷺ.

Connecting the Story to the Prophet Muhammad ﷺ

Allah told the Prophet ﷺ after mentioning many earlier prophets: “Those are the ones whom Allah has guided, so from their guidance take an example” (Al-An’am 6:90).

The Prophet ﷺ embodied the best qualities of every prophet before him.

The persistent du’a we see in the life of Zakariya appears in his life too, in Makkah during persecution and in Madinah during leadership.

When you read about Zakariya, ask yourself how the same quality appeared in the Seerah.

This habit links the stories of the Quran together and deepens your love for the final Messenger ﷺ, who is the model we are commanded to follow: “There has certainly been for you in the Messenger of Allah an excellent example” (Al-Ahzab 33:21).

Common Mistakes When Learning Prophet Stories

Mistake Better approach
Relying on films or unverified stories Start with the Quran and authentic hadith
Treating weak reports as certain Distinguish what is confirmed from what is narrated
Reading only for entertainment Read to extract lessons and change behaviour
Ignoring the Arabic wording Learn key words and phrases from the verses
Studying once and forgetting Revisit the story every few months

Scholars caution against adopting every detail found in old storytelling literature. Some details come from earlier scriptures or folklore and cannot be confirmed.

The safest approach is to build your understanding on the Quran and authentic Sunnah, and treat other reports as supplementary at most.

Teaching the Story of Zakariya to Children

Children love stories, and prophet stories are the best stories they can hear. A few practical ideas:

  1. Tell it in short episodes. Break the story into three or four parts and tell one part each night.
  2. Use the Quranic words. Teach them one short phrase from the verses, such as the humble private supplication, and its meaning.
  3. Ask questions. “What would you have done?” “How did Zakariya feel?” “What did Allah do?”
  4. Draw a timeline. Let children illustrate each stage of the story.
  5. Link it to behaviour. When your child shows persistent du’a, remind them that they are following Zakariya.
  6. Avoid images of prophets. Muslims do not draw or depict prophets; focus on words, places and events instead.

The goal is not only that children remember the story, but that they love the prophets and want to be like them.

Questions for Reflection

  1. Which moment in the story of Zakariya moved me the most, and why?
  2. Where in my life do I need more persistent du’a?
  3. What does the humble private supplication teach me about my relationship with Allah?
  4. How did Allah support Zakariya, and how has He supported me in hard times?
  5. What is one thing I will change this week because of this story?

Write your answers in a notebook and return to them after a month. The stories of the prophets were revealed to change hearts, and reflection is how that change begins.

Memorising the Key Verses

One of the best ways to keep this story alive is to memorise the main verses about Zakariya and recite them in your prayers.

Choose a passage of three to five verses from Surahs Al-Imran, Maryam and Al-Anbiya.

Listen to it several times from a skilled reciter, read it with correct tajweed, then memorise one verse a day.

Within a week you will carry the story in your heart, and every time you recite it in salah you will remember its lessons.

A qualified teacher can help you correct pronunciation and explain each word, so the verses become both a memorised text and a living guide.

A Four-Week Plan to Apply What You Learned About prophet zakariya story

Knowledge sticks when it is turned into a routine. Here is a simple four-week plan to build on this guide.

  • Week one: Re-read this article slowly and write down the three points that were newest to you. Share one of them with a family member, because explaining an idea is one of the best ways to understand it.
  • Week two: Connect the topic to your daily Quran reading. Each day, look for one verse or phrase in your portion that relates to prophet zakariya story, and note it in a small notebook.
  • Week three: Ask questions. Bring anything that is still unclear to a qualified teacher, and correct any misunderstanding before it becomes a habit.
  • Week four: Review your notebook, choose one practical change and commit to it for the next month. Small, consistent actions are more beloved to Allah than large efforts that do not last.

The Prophet ﷺ said: “The most beloved of deeds to Allah are those that are most consistent, even if they are small.”

Apply that principle here, and this topic will become part of your life rather than something you read once and forgot.

Frequently Asked Questions

Who was Prophet Zakariya’s son?

Prophet Yahya.

What was Zakariya’s relationship to Maryam?

He was her guardian.

What sign did Allah give Zakariya?

He could not speak to people for three days.

What du’a did Zakariya make for a child?

“Rabbi hab li min ladunka dhurriyyatan tayyibah.”

Why were his du’as answered?

He hastened to good deeds, prayed with hope and fear and was humble.

Final Thoughts

The prophet Zakariya story is the story of every believer who refuses to stop asking.

Whatever you are hoping for, raise your hands in private, admit your weakness, praise your Lord’s kindness and ask.

Memorise his du’as this week and make them part of your night prayer.

Read the story of Zakariya in the Quran with a tutor.

Learn Zakariya's Du'a

Scroll to Top