Published on

Dua of Prophet Zakariyya: Asking for the Impossible With Certainty

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • Deen Back

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

An elderly figure in a prayer niche with soft light streaming through arched windows, representing humble supplication and trust in Allah for what seems impossible

There are duas you make when the situation is difficult but theoretically manageable. And then there are duas you make when the situation is, by any rational measure, impossible.

Prophet Zakariyya ﷺ made a dua that fell entirely into the second category. He was old. His wife had been barren her entire life. He was not young enough to hope for children by any natural expectation. And yet he stood in a prayer niche and asked Allah directly for a good child — with the same certainty and directness as if he were asking for something entirely ordinary.

That is what his dua teaches. Not just the words to say, but how to ask: without hedging, without apologizing for the size of the request, with complete trust that the One you are asking is fully capable.

The Dua of Prophet Zakariyya

The Quran records two supplications of Zakariyya ﷺ. Together they form a complete picture of asking Allah for the seemingly impossible:

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

Rabbi hab li min ladunka dhurriyyatan tayyibah innaka sami'ud-dua

"My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication."

— (Surah Al Imran, 3:38)

And separately:

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

Rabbi la tadharni fardan wa anta khayrul-waritheen

"My Lord, do not leave me alone [without an heir], and You are the best of inheritors."

— (Surah Al-Anbiya, 21:89)

Notice the structure of the first dua. He specifies from Yourself — acknowledging that what he is asking for cannot come from any human source, only from Allah directly. He asks for good offspring — not just a child, but a righteous one. And he closes with a statement about who Allah is: You are the Hearer of supplication. It is a dua that contains both the request and the trust simultaneously.

The second dua reveals the emotional reality behind the first. He was facing the possibility of dying alone, with no one to carry on the work of prophethood. That vulnerability — do not leave me alone — is what made the dua human and real. He was not performing patience. He genuinely needed what he was asking for.

The Story Behind This Dua

The context of Zakariyya's dua is specific and profound. He was the guardian of Maryam ﷺ — the mother of Prophet Isa — and he would regularly bring her provisions in the prayer niche where she worshipped. Each time he came, he found that she already had food — food that had not come from any visible source.

He asked her: where is this provision from? She answered: it is from Allah. Indeed, Allah provides for whom He wills without account. (Surah Al Imran, 3:37)

This answer broke something open in Zakariyya ﷺ. He was a prophet. He already believed in Allah's power. But seeing it operate with his own eyes — seeing that Allah could provide from beyond any natural means — led him immediately to make his own supplication from that same prayer niche.

It is a remarkable chain: witnessing Allah's power activated Zakariyya's dua. He saw that nothing is outside Allah's ability, and he immediately brought his most impossible request. This is a Quranic teaching about how we should respond when we see Allah's power at work in the world: let it expand what we believe He can do for us, and ask accordingly.

The angels came to him while he stood in prayer, giving him the glad tidings of Yahya ﷺ. (Surah Al Imran, 3:39) A prophet was given to a man who was old, through a wife who had never conceived. The dua of the impossible was answered.

How to Make This Dua Part of Your Daily Life

Use it for your most specific, heartfelt needs. Zakariyya did not make a vague general prayer. He named exactly what he needed: a good child, from Allah directly. When you have a request that feels too specific or too impossible to even voice, this dua gives you permission to ask precisely. Allah is not overwhelmed by the specificity or the difficulty of the request — He is the One from whom the impossible comes.

Let witnessing Allah's power trigger your dua. Zakariyya made his dua because he saw Allah's power in action. Train yourself to respond the same way. When you hear of someone's prayer being answered. When you see a reversal you did not expect. When you experience provision from an unexpected direction. Let these moments renew your own dua practice. They are reminders that the same Allah who answered others is fully capable of answering you.

Hold your request without an expiration date. Classical scholars tell us Zakariyya had been asking Allah for a child for a long time before the famous dua in the prayer niche. This was not the first time he asked. It was the culmination of years of turning to Allah with the same sincere need. If you have a request you have been carrying for a long time, this is the model: keep asking, with the same sincerity, without letting time erode the trust.

Add this dua to your dua for morning practice. The morning is the time when the day's possibilities open before you. Start it with a prayer for the most important things you are carrying — including the ones that feel impossible.

Build the Habit of Asking Allah for What Seems Impossible

Zakariyya did not make this dua once — he kept asking, for years, until the answer came. DeenBack helps you build and track a daily dua practice so your most important requests stay alive in your worship, not just in your worry.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Dua of Prophet Ibrahim: Prophet Ibrahim's duas include prayers for offspring, guidance, and community — made with the same certainty that Allah would respond. Ibrahim and Zakariyya both model asking for things that require Allah to intervene beyond natural means.

Dua for marriage: If you are waiting for a righteous spouse — another form of asking Allah for provision in a crucial area of life — the dua for marriage is a natural companion to Zakariyya's prayer.

Dua for rizq: The dua for rizq addresses provision in a broad sense — sustenance, resources, what you need to live and fulfill your purpose. Zakariyya was asking for provision of a particular kind: an heir, a continuation. Both duas ask Allah to provide what only He can give.

Common Questions

Is it appropriate to ask for something when I know it seems medically or practically impossible?

Zakariyya ﷺ knew his and his wife's physical situation better than anyone, and he asked anyway. Islam does not require you to pretend that something is easy before you can ask Allah for it. In fact, asking for something clearly beyond natural means is one of the strongest forms of tawakkul — it demonstrates that your trust is in Allah and not in natural causes. Make the dua. Take practical steps where they exist. And leave the outcome to Allah.

Should I specify what I want, or make a general dua for good?

Both approaches are valid and both appear in the Quran. Zakariyya was specific: a good offspring, from Allah. The dua of Musa at Midian was general: whatever good You would send. Use whichever form reflects your genuine state. If you know specifically what you need, ask specifically. If you are genuinely uncertain what you need, ask for good and trust Allah to define it.

What if years pass and the dua is not answered in the form I asked for?

Allah promises to respond to sincere dua — but not always in the form or timing we request. Sometimes He gives us what we asked for, sometimes He gives us something better, sometimes He removes a harm equivalent in weight to what we requested. What Zakariyya's story shows is that sincerity and persistence over years were not wasted — they were the very path through which the answer came. Keep asking. Trust the outcome to Allah.

Ask for What Only Allah Can Give

Zakariyya ﷺ stood in a prayer niche where he had seen the impossible happen for Maryam, and he asked for what only Allah could give him. He did not apologize for the size of the request. He did not hedge against disappointment. He named what he needed, acknowledged that Allah hears every supplication, and asked.

When you carry a need that is beyond any human solution — bring it to Allah the same way. Specifically. Honestly. With the certainty that the One who gave Zakariyya what he asked for is fully capable of answering you.

Make Your Most Impossible Request a Daily Dua

Zakariyya's years of consistent supplication led to an answered prayer that changed history. Build your own daily dua habit with DeenBack — track your practice and keep your most important requests alive before Allah.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Frequently Asked Questions

What is the dua of Prophet Zakariyya in the Quran?

The primary dua of Prophet Zakariyya is: Rabbi hab li min ladunka dhurriyyatan tayyibah innaka sami'ud-dua — My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of supplication. (Surah Al Imran, 3:38) He also made dua: Rabbi la tadharni fardan wa anta khayrul-waritheen — My Lord, do not leave me alone, and You are the best of inheritors. (Surah Al-Anbiya, 21:89)

How old was Prophet Zakariyya when he made this dua?

The Quran describes him as a man of very advanced age whose hair had turned white, and his wife was barren. Scholars estimate he was well past the age of having children — some say in his 70s or 80s. Despite this, he asked Allah for a child without hedging or qualifying his request. This is what makes his dua extraordinary: it was made in apparent impossibility.

What was the result of Prophet Zakariyya's dua?

Allah gave him Yahya (John the Baptist) ﷺ — a prophet and a righteous son who confirmed the word of Allah. The Quran records the angels giving him the glad tidings directly while he stood in the prayer niche. His wife's barrenness was removed and a child was given despite all apparent biological impossibility.

When should I use the dua of Prophet Zakariyya?

Use it when you are asking for something that seems humanly impossible — a child when doctors say it cannot happen, a reversal of fortune that seems beyond reach, a healing that has been ruled out. But also use it in any heartfelt request for good from Allah, since the dua's structure — asking from Allah directly, acknowledging He hears — applies to any sincere need.

Why did Prophet Zakariyya ask for a child despite knowing his wife was barren?

The Quran does not record him explaining this. He saw Allah's power manifested in how Maryam received miraculous provisions in her prayer niche, and this witnessing of divine ability renewed his certainty that nothing is beyond Allah. When you see evidence of Allah's power, it is meant to expand what you believe He can do for you.