Zachariah was a righteous prophet of the Children of Israel. He was Mary's guardian and the father of the prophet John (Yahya). The Quran names him among the guided ones who were given "the scripture, wisdom, and prophethood," next to John, Jesus and Elias, and says of them that "all were righteous" (6:85, 6:89). The Quran does not name a people he was sent to. It does place him in the chosen line: God chose "the family of Abraham, and the family of Amram," who "belong in the same progeny" (3:33-34). Zachariah asked for an heir who would be "the heir of Jacob's clan" (19:6), which shows he lived and served among Jacob's descendants. Sura 19 opens his story as "A narration about your Lord's mercy towards His servant Zachariah" (19:2).
Guardian of Mary
His story starts with Mary. Her mother, the wife of Amram, dedicated her unborn child to God. God accepted the girl and "brought her up a gracious upbringing, under the guardianship of Zachariah" (3:35-37). The Quran says lots were drawn to decide who would be her guardian, and that people argued over it (3:44). The guardianship went to Zachariah. Each time he came into her sanctuary he found food with her. When he asked where it came from, she answered: "It is from GOD. GOD provides for whomever He chooses, without limits" (3:37).
His Prayer for an Heir
Seeing this, Zachariah turned to God: "That is when Zachariah implored his Lord: 'My Lord, grant me such a good child; You are the Hearer of the prayers'" (3:38). The words "That is when" link his prayer to what he had just seen God do for Mary. Sura 19 says it was "a secret call." He was old and his wife was barren: "My Lord, the bones have turned brittle in my body, and my hair is aflame with gray. As I implore You, my Lord, I never despair." He was worried about his dependants after him, and he asked for an heir to carry on for Jacob's clan (19:3-6). He also prayed, "My Lord, do not keep me without an heir, though You are the best inheritor" (21:89).
The Good News of John and the Sign of Silence
While he was praying in the sanctuary, the angels brought him the news. God would give him John, "a believer in the word of GOD, honorable, moral, and a righteous prophet" (3:39), a boy whose like God "never created" before (19:7). The verses speak in the plural ("we give you good news"). The footnote to 21:90 explains that this plural shows the angels taking part, and that they dealt with Zachariah a great deal1.
Zachariah was amazed and asked how he could have a son when he was so old and his wife was sterile. The answer came: "GOD does whatever He wills" (3:40), and "It is easy for Me to do. I created you before that, and you were nothing" (19:9). He asked for a sign. His sign was that he would not speak to people for three days except by signals, and that he should remember his Lord often (3:41, 19:10). He came out of the sanctuary and signaled to his family: "Meditate (on God) day and night" (19:11). God answered him: "We responded to him and granted him John; we fixed his wife for him" (21:90). John grew up holding to the scripture firmly. He had wisdom even as a youth, was kind and pure, honored his parents, and "was never a disobedient tyrant" (19:12-15). The footnote to 19:1 links the five Quranic initials that open Sura 19 to the miraculous birth of John. It says they give physical evidence for it.
What His Story Teaches
The Quran says plainly why God answered him: "That is because they used to hasten to work righteousness, and implored us in situations of joy, as well as fear. To us, they were reverent" (21:90). Zachariah stayed hopeful even in old age, with no natural means of having a child, and said, "I never despair" (19:4). His story shows that nothing stands in the way of God's will, since the One who created a person from nothing can easily give a child to an old man and a barren wife (19:9). It also shows how closely Zachariah's household and Mary's were bound together in God's plan. Both births were signs: John was born to a man too old for children, and Jesus was born to a virgin (21:89-91).
The Quran Talk blog draws a practical lesson from it. Zachariah prayed for something that seemed impossible, and God still surprised him, so believers should not hold back from asking great things of God2. Abraham and Zachariah both waited until old age for a son, while Mary received Jesus young and without asking. That points to the lesson of accepting God's timing, because He knows what is best3. The Quran ends its list of these prophets with a direction to every believer: "These are the ones guided by GOD; you shall be guided in their footsteps" (6:90).