Zakariyya's Prayer for a Righteous Child

Prophet Zakariyya (ﷺ) was a pious man and prophet of Allah from the Children of Israel. He lived in the holy land of Jerusalem and served in Bayt al-Maqdis (the Sacred Temple). He is also known in the Bible as Zechariah, and in Islamic tradition he was the guardian of Maryam (Mary), the mother of Prophet 'Isa (Jesus). Zakariyya would care for young Maryam in the temple, and he witnessed something extraordinary in her chamber: she would have food and provisions even out of season, a gift from Allah's bounty. Seeing this miracle increased Zakariyya's faith and sparked a deep desire in his heart, if Allah can provide fruits in winter, surely He can bless an old, childless couple with a child. Zakariyya longed for an heir not for worldly gain, but to carry on the mission of prophethood and guide his people to truth. He wanted a child who would be righteous and uphold the religion after him.

In a quiet voice, Zakariyya turned to Allah in supplication. The Quran describes this heartfelt du'a in several places. He prayed privately, displaying humility and sincerity so great that Allah preserved his words for us. In Surah Maryam, Allah says:

"This is a mention of your Lord's mercy to His servant Zakariyya, when he called upon his Lord quietly. He said, 'My Lord, my bones have become feeble, and my head is crowned with grey, but I have never been disappointed in my prayer to You, O my Lord. I fear (what) my relatives (will do) after me, since my wife is barren. So grant me from Yourself an heir - who will inherit from me and inherit from the family of Ya'qub. And make him, my Lord, pleasing (to You).'" (Quran 19:2-6)

Despite his desperate situation, Zakariyya's prayer is full of hope. He gently mentions his own weakness (old age and grey hair) and his wife's infertility, not as complaints but as facts to show the miracle he is asking for. He addresses Allah lovingly as "My Lord", acknowledging that only Allah can grant his wish. Crucially, Zakariyya asks not just for any child, but for a righteous child who will please Allah and carry on the prophetic legacy of the House of Ya'qub (Jacob). According to Islamic scholarship, when Zakariyya says "who shall inherit me," he means inheritance of knowledge and prophethood, not material wealth. Prophets do not leave wealth to be inherited, Prophet Muhammad (ﷺ) taught, "We, the Prophets, do not leave behind any monetary inheritance; whatever we leave is charity." This shows Zakariyya's goal was to pass on the legacy of faith, ensuring his people would have a guide after his death.

Zakariyya's sincere prayer was inspired in part by what he saw with Maryam. In Surah Al 'Imran, the Quran paints that scene:

"So her Lord accepted her with a gracious acceptance and caused her to grow up in a good manner, and He entrusted her to Zakariyya. Whenever Zakariyya visited her in the sanctuary, he found with her provision. He said, 'O Mary, where is this coming to you from?' She said, 'It is from Allah. Indeed, Allah provides sustenance to whom He wills without limit.' That was when Zakariyya prayed to his Lord, saying, 'My Lord, grant me from Yourself a good offspring. Truly, You are the Hearer of supplication.'" (Quran 3:37-38)

Imagine the faith in Zakariyya's heart at that moment. He witnesses Maryam receiving miraculous sustenance from Allah, and it inspires him to ask Allah for his own miracle. Even though he and his wife are advanced in age, Zakariyya does not lose hope in Allah's mercy. This is a powerful lesson: a believer should never think anything is impossible for Allah. No matter how difficult our situation, we should turn to Allah with hope. Zakariyya prays for an offspring who is "tayyib", a good, pure child. He trusts that Allah is "As-Sami'", the All-Hearing, who hears and answers prayers.

Glad Tidings of Prophet Yahya (John)

Allah answered Zakariyya's prayer in the most amazing way. While Zakariyya was standing in prayer in the Mihrab (prayer niche of the temple), angels brought him the unexpected good news. The Quran narrates this joyful moment:

"So the angels called out to him while he stood praying in the sanctuary, 'Allah gives you good news of Yahya (John), confirming a Word from Allah, and who will be noble and chaste - a prophet among the righteous.' He said, 'My Lord, how can I have a boy when I have reached old age and my wife is barren?' (The angel) replied, 'So it will be. Allah does whatever He wills.'" (Quran 3:39-40)

This announcement was truly miraculous. Allah not only promises a son, but even gives the child a name "Yahya" (Yahya), which means "* he lives*". No one before had been given this name, it was specially chosen for this blessed child. According to some scholars, the uniqueness of the name indicates Yahya's unique qualities or the unique mercy behind his birth. Yahya is known in Christianity as John the Baptist, but the name Yahya in Arabic reflects how Allah gave "life" to the hopes of Zakariyya and his wife through this child.

When Zakariyya heard the angels' message, he was astonished by Allah's power. Out of human wonder he asked, "How can I have a son when I am so old and my wife has always been barren?" He was not doubting Allah, rather, he was marveling at how Allah would make it happen. The angel reassured him that Allah is Almighty and can do anything: "So it will be; Allah says, It is easy for Me." In Surah Maryam, Allah reminds Zakariyya that He created Zakariyya himself when he was nothing before, so reviving a barren womb is certainly within Allah's power.

Prophet Zakariyya then requested a sign from Allah to know that this miraculous promise would indeed come true. Allah responded by giving Zakariyya an extraordinary sign:

"(Zakariyya) said, 'My Lord, give me a sign.' (Allah) said, 'Your sign is that you will not (be able to) speak to people for three nights while in sound health.' So he came out to his people from the prayer chamber and signaled to them to glorify Allah morning and evening." (Quran 19:10-11)

Allah caused Zakariyya to temporarily lose his voice as a sign that Yahya's conception was underway. For three days and nights, Zakariyya could not speak to people, even though he was otherwise healthy. This miraculous silence was a sign for him to know the promise was being fulfilled. Yet Zakariyya did not fall into despair during these days of silence. Instead, he emerged and signaled to his community to continue praising Allah (doing tasbih) day and night. Even when rendered mute, Zakariyya used gestures to remind others to remember Allah! This shows his constant devotion and gratitude. He understood that this silence was a gift and a sign from his Lord. There is a subtle lesson here: sometimes Allah's signs require patience and continued worship. Zakariyya remained in dhikr (remembrance of Allah) and gratitude while awaiting the blessing.

Sure enough, the miracle occurred, Zakariyya's wife conceived, despite her old age and history of barrenness. Allah "reformed" or healed her condition, making an impossible thing possible. Surah Al-Anbiya' highlights Allah's grace:

"And (remember) Zakariyya, when he called out to his Lord, 'My Lord, do not leave me alone (childless), though You are the Best of inheritors.' So We answered his prayer and gave him Yahya, and We cured his wife for him. They used to hasten to do good deeds and supplicate Us in hope and fear, and they were humble before Us." (Quran 21:89-90)

This poignant verse shows how merciful Allah is. He answered Zakariyya's prayer and granted him Yahya. Allah fixed his wife's condition (making her able to have a child). It also gives us a glimpse of why Zakariyya and his family were so favored: "They used to hasten in goodness, call upon Allah with hope and fear, and were humble." In other words, they were exemplary in piety even before this miracle. Their story teaches us that when we remain faithful, humble, and engaged in good deeds, Allah's help and blessings will come in ways we may not expect.

Finally, Prophet Yahya was born into the world, a miraculous gift to two elderly, righteous parents. One can imagine the joy in Zakariyya's household! Allah sent peace and blessings upon Yahya from the very start. The Quran says about Yahya:

"Peace be upon him the day he was born, the day he dies, and the day he will be raised to life (again)." (Quran 19:15)

This special greeting is a sign of Yahya's lofty status. Allah bestowed safety and tranquility on Yahya in the critical phases of life: birth, death, and resurrection. It is a way of honoring Yahya and highlighting his purity from cradle to grave. In fact, Prophet Muhammad (ﷺ) said that every child of Adam is touched by Satan at birth except Maryam and her son Isa, but we can gather that Yahya too was protected and blessed profoundly from birth (he is not mentioned in that particular Hadith, but being greeted with "Peace" by Allah indicates divine protection).

With the arrival of Yahya, Allah's promise to Zakariyya was fulfilled. This was truly a miracle, a sign that Allah's power has no limits. For Muslims, the birth of Yahya to aged parents is similar to the story of Prophet Ibrahim (Abraham) and Sarah having Ishaq (Isaac) in their old age. It reminds us that we should never despair of Allah's mercy. Even if all worldly reasons say something is impossible, Allah can decree it to be. Our duty is to keep praying with hope, just like Zakariyya did. The Prophet Muhammad (ﷺ) taught us that "Du'a (supplication) is worship", and Zakariyya's answered prayer is a shining example of the power of du'a. We also learn to ask for things that benefit our faith, not just worldly desires. Zakariyya asked for a child who would be pleasing to Allah and carry on the mission of goodness. We too should pray for righteous families and successors who will strengthen Islam after us.

Qualities of Prophet Yahya (John)

Prophet Yahya (ﷺ), known as John the Baptist in the Christian tradition, grew up to be a noble prophet with exceptional character. Allah had already described some of Yahya's qualities when announcing his birth to Zakariyya. The angel said that Yahya would "confirm a Word from Allah, and will be a leader (sayyid), and chaste (hasur), and a prophet among the righteous." Each part of this glad tiding hints at who Yahya would become:

  • "Confirming a Word from Allah" - In Islamic interpretation, "a Word from Allah" refers to Prophet 'Isa (Jesus), who is called Kalimatullah (Word from Allah) in the Quran. Yahya's role was to affirm the truth of Jesus' message and existence. Indeed, Yahya and 'Isa were cousins (their mothers were relatives), and Yahya was the first to recognize 'Isa as the promised Messiah. He "confirmed" 'Isa by preparing the people and testifying to his prophethood. In the Bible, John the Baptist calls people to repentance and announces the coming of Jesus. Islam tells essentially the same story: Prophet Yahya paved the way for Prophet 'Isa, confirming him as a Messenger of Allah. This shows the continuity of Allah's message - all prophets worked together, supporting one another's missions.

  • Sayyid (Leader/Noble) - Yahya was given wisdom and authority beyond his years. The word sayyid implies an honorable rank and strong character. He was respected among his people as a morally upright leader. Even as a young man, people recognized his piety and knowledge. He lived a very humble and simple life, yet was fearless in speaking the truth. In this sense, he was a leader of righteousness. Some scholars also interpret sayyid here as meaning master of self - someone who had full control over his desires and remained free of sin. Yahya's dignity and self-discipline made him a true leader in faith.

  • Hasur (Chaste) - This word describes Yahya as completely pure and celibate, one who abstained from worldly lusts and sexual desire. Prophet Yahya is known for his great modesty and chastity. According to Islamic tradition, he never married and remained focused solely on worship and preaching without any distraction of worldly pleasures. He dedicated himself entirely to the service of Allah. This does not mean that marriage is negative (indeed, in Islam marriage is a blessed Sunnah), but Yahya's abstinence was a divinely given quality highlighting his spiritual purity. He was protected from temptation in order to carry out a very difficult mission among a corrupt society. Imam Shafi'i, a great Islamic scholar, even remarked that "We do not know of anyone who was granted such obedience to Allah without sinning except Yahya ibn Zakariyya." In a hadith, the Prophet Muhammad (ﷺ) said, "There is none among the children of Adam who has not erred or thought of sin, except Yahya bin Zakariyya." This emphasizes that Yahya was one of the purest souls, free of major sins or even inclinations to sin. Allah gifted him "purity" (zakatan) as the Quran mentions. His chastity and innocence were part of what made him so beloved and special.

  • Prophet from Among the Righteous - Above all, Yahya was chosen as a prophet of Allah, continuing the line of prophethood in Bani Isra'il (the Children of Israel). Despite his young age, Allah endowed him with guidance and prophethood. Yahya carried the responsibility of conveying Allah's message to a people that had grown morally corrupt and needed reform. The Quran counts Yahya among the righteous prophets, meaning he fulfilled his mission honorably and was truly devoted to Allah.

From the time he was a child, Yahya displayed remarkable piety and wisdom. The Quran beautifully describes Yahya's early life:

"(We said:) 'O Yahya! Hold firmly to the Scripture.' And We gave him wisdom while he was still a child, and We gave him compassion from Us and purity, and he was devout (towards Allah). He was good to his parents, and was neither arrogant nor disobedient. So peace be upon him the day he was born, the day he dies, and the day he will be raised up alive." (Quran 19:12-15)

Even as a young boy, Yahya was told to hold fast to the Scripture, which in his time meant the Torah and the commandments of Allah. Allah granted him al-hukm (wisdom, judgment) in childhood, which is truly rare. This could be seen as the ability to understand and apply the religious law from a very early age. There are narrations that other children would be playing, but Yahya would instead be studying or remembering Allah. He developed a seriousness and wisdom beyond his years.

Allah also mentions hanan (tenderness, compassion) and zakah (purity) as qualities given to Yahya. Yahya had a very soft heart, he was merciful and kind, loving towards people and even animals. One story illustrates that when other boys caught small animals or bullied them for fun, Yahya would show kindness and free those creatures. He felt empathy and mercy, reflecting the compassionate nature that Allah bestowed on him. Purity (zakah) indicates that Yahya was free of sin and moral corruption; his soul was pure and he led a clean life in thought and action. He was devout and God-fearing, often weeping out of awe of Allah and the fear of failing in his duty. Indeed, Yahya is sometimes called "Yahya the Weeper" because of how much he would cry out of love and fear of Allah. Imagine such spirituality in a young person, it is truly inspiring.

Importantly, the Quran highlights that Yahya was dutiful to his parents. Despite his own prophetic status, he remained humble and obedient to his father Zakariyya and his mother. He treated them with love and respect. He was never rebellious or proud. This is a lesson for all of us, being righteous in the sight of Allah includes showing kindness and respect to our parents. Yahya exemplified excellent character at home and in public.

All these qualities made Prophet Yahya an ideal model of virtue. He carried on the mission of prophethood in the spirit of his father Zakariyya and earlier prophets. It's important to note that Yahya and 'Isa (Jesus) lived at the same time, and according to historical sources there was about six months age difference between them. Both were prophets to the Children of Israel. Yahya started preaching first, preparing people to receive 'Isa's message. In the Bible, John is said to have baptized Jesus in the Jordan River as a sign of starting Jesus's mission. While the Quran does not explicitly mention the baptism, it confirms the essence: Yahya heralded the coming of al-Masih 'Isa ibn Maryam (the Messiah Jesus son of Mary), and he urged people to repent and follow the laws of Allah. In this way, Yahya "confirmed" Jesus and the two prophets worked in harmony.

Yahya's simple and pure lifestyle also deserves mention. He wore very humble clothing (it is said he wore rough garments made of camel hair) and ate simple foods from the land, such as wild honey or herbs. He did not seek luxury or comfort. His focus was on the spiritual mission. This ascetic lifestyle was somewhat similar to how many earlier prophets lived, renouncing worldly distractions. It gave Yahya the moral authority to challenge the excesses and sins of his society, because he himself lived a life of purity and self-control.

Preaching of Yahya: Calling People Back to Allah

When Prophet Yahya grew to adulthood, Allah commissioned him as a prophet to the Israelites. This was a time of moral decay among his people. Many were straying from the commandments, and the rulers were corrupt. Yahya fearlessly took on the duty of enjoining good and forbidding evil. He preached with eloquence and sincerity, drawing people to repent from their sins and renew their faith in Allah. Crowds would gather to listen to this young prophet who spoke with such passion and truth.

Islamic sources and authentic Hadith give us a fascinating insight into Prophet Yahya's preaching. Prophet Muhammad (ﷺ) told us about five commandments that Allah instructed Yahya to convey to the Children of Israel. This Hadith shows how dedicated Yahya was in delivering Allah's message, and interestingly, it also shows Prophet 'Isa (Jesus) encouraging Yahya in this task. The Prophet Muhammad (ﷺ) said:

"Verily, Allah commanded John, the son of Zechariah (Yahya ibn Zakariyya) with five words to practice himself and to command the Children of Israel to practice. Yahya was slow to announce them, so Jesus said: 'Allah has commanded you with five words to act upon and to instruct the Israelites to act upon. Either you proclaim them, or I will proclaim them.' John said: 'I fear that if you precede me in this, I will be swallowed up by the earth (in punishment) or punished.' So John gathered the people in the Sacred House (Bayt al-Maqdis in Jerusalem) until the mosque was filled and people sat on the balconies. He then preached to them, saying: 'Allah has commanded me with five matters to practice myself and to command you to practice:

First: That you worship Allah alone and associate nothing with Him. The example of the one who associates others with Allah is like a man who bought a slave with his own gold or silver and said, "This is my house and my work, so serve me and give me the earnings." But that slave worked and gave the earnings to someone else! Who would be pleased to have a slave like that? So do not commit shirk (polytheism) with Allah, for Allah created you and provides for you, so worship Him alone.

Second: Allah commands you to pray, and when you are in prayer, do not turn away or get distracted. For Allah faces His servant in prayer as long as the servant is attentive.

Third: Fasting - Allah commands you to fast. The example of fasting is like a man holding a bag of musk in a crowd - all of them enjoy its fragrance. Truly, the smell (of the mouth) of the fasting person is more beloved to Allah than the scent of musk.

Fourth: Charity (sadaqah) - Allah commands you to give charity. The example of this is like a man captured by his enemies. They tied his hands to his neck and prepared to execute him. He pleaded, "Can I ransom myself with wealth?" When he ransomed himself with everything he could, they let him go. Likewise, charity saves you from your sins and from punishment.

Fifth: Remembering Allah (dhikr) - Allah commands you to remember Him often. The example of this is a man being chased by an enemy. He reaches a strong fortress and takes shelter inside it, and thus he is safe. Similarly, the servant cannot protect himself from Satan except by the remembrance of Allah." (Sunan al-Tirmidhi 2863 - Sahih).

This beautiful speech encapsulates the core of Allah's guidance. Prophet Yahya faithfully delivered these five commandments to his people, and they are essentially the same principles that Islam teaches us today. Let's summarize the five points Yahya (John) taught, as they remain timeless lessons for all believers:

  • Worship Allah Alone - Pure monotheism (tawhid). Do not worship idols, humans, or anything besides the One God. Avoid all forms of shirk. This is the first and greatest command in Islam and all revealed religions. Yahya reminded people that serving anything other than Allah is as senseless as a slave betraying his master.

  • Establish Prayer (salah) - Pray to Allah with full attention and sincerity. Do not let your mind or gaze drift in prayer, because you are standing before Allah. Yahya stressed khushu' (focus and humility) in prayer. In Islam, the prayer is a direct connection with Allah, so we must give it our undivided attention.

  • Fast (sawm) - Observe fasting as an act of devotion. Fasting purifies the soul and is deeply pleasing to Allah. Even though it may give one bad breath, that sacrifice is more fragrant to Allah than musk because it represents obedience and self-restraint. This parallels the Islamic fasting in Ramadan and other voluntary fasts: teaching discipline, empathy, and piety.

  • Give Charity (sadaqah) - Be generous and give from your wealth to those in need for the sake of Allah. Charity saves one from calamities and the Hellfire, just as a ransom frees a prisoner. This underscores the Islamic pillar of zakah (obligatory charity) and the virtue of extra charity. Giving purifies our wealth and souls.

  • Remember Allah (dhikr) - Engage constantly in the remembrance of Allah through praise, thanks, reciting scripture, and reflection. It is a protection against Satan and one's desires, like a fortress shielding a man from an enemy. The more we remember Allah, the safer our hearts are from evil influences.

Prophet Yahya's message was essentially Islam, submission to the One God and adherence to righteousness. It is truly striking to see how the core teachings he delivered mirror what Prophet Muhammad (ﷺ) later taught. This confirms the Islamic belief that all prophets brought the same fundamental religion of monotheism and morality, even if specific laws differed. Yahya called his people back to the basics: worship, prayer, fasting, charity, and constant God-consciousness. These practices cultivate a strong, faithful community and soul. We can also see how Yahya's teachings complemented what his cousin 'Isa (Jesus) would soon preach to Bani Isra'il. In fact, the Bible also records John the Baptist urging people to repent (which relates to remembrance of God and prayer) and baptizing them as a sign of purification (which carries a resemblance to fasting and charity as acts of purification).

Prophet Yahya's speech also contains vivid parables that make the message easy to grasp. For example, the image of a slave who gives his labor's earnings to someone other than his master paints shirk (idolatry) as utter foolishness and betrayal. The example of the smell of musk makes us feel how beloved a fasting person is to Allah. The ransom story for charity and the fortress metaphor for remembering Allah are equally powerful. These examples were meant to captivate the audience and stir them to act upon the advice. Indeed, it's said that all of Bani Isra'il who were present responded positively that day. They acknowledged Yahya's wisdom and renewed their commitment to Allah's covenant (though unfortunately many would later fall back into error).

By delivering these five commandments, Prophet Yahya fulfilled the immediate mission Allah gave him. However, living by these truths and calling out sin in society would put Yahya in great danger with the authorities of the time. Like many prophets before him, Yahya faced resistance from those in power who did not want to be reformed. But Yahya, true to his character, did not shy away from speaking the truth.

A Courageous Martyr: Standing for Truth

Prophet Yahya's life teaches us not only devotion in private worship, but also courage in the public sphere. He became a prominent figure, respected by the common people as a prophet. The local King (as per historical sources, this was Herod Antipas, a ruler under the Roman Empire) knew of Yahya and even found him intriguing at first. However, this ruler lived a sinful life and was involved in unlawful relationships. According to historical accounts and Islamic tradition, King Herod desired to marry a woman who was actually prohibited for him, in some reports, she was his niece or the wife of his own brother, which went against the law of the Torah. Prophet Yahya, as the moral conscience of the community, publicly declared this proposed marriage unlawful (haram). He admonished the king, telling him that such an act would be a grave sin.

This bold stance of Yahya was in line with his role as a prophet, he had to enjoin what is right and forbid what is wrong, no matter who was involved. It was also in line with the teachings of earlier prophets like Musa (Moses), whose law forbade incestuous or illicit marriages. Yahya's courage in telling even a powerful ruler, "This is not lawful for you," is a timeless example of speaking truth to power.

The king did not immediately punish Yahya, perhaps because he held Yahya in awe and the people revered him as a prophet. But the woman in question (and her mother, according to some accounts) developed a vengeful hatred for Yahya. She manipulated the king with her charms to get rid of this righteous man who stood in the way of their desires. There is a well-known historical account very similar to the biblical narration: The woman's daughter performed a seductive dance for King Herod during a banquet, greatly pleasing him. Drunk and bewitched, the king promised to grant her any wish. Prompted by her wicked mother, the girl demanded "the head of John the Baptist" on a platter. The king was horrified at the request but, due to his oath and his desire for the woman, he reluctantly ordered Prophet Yahya to be executed.

Tragically, Prophet Yahya was martyred. He was decapitated by the authorities, and his head was brought on a tray to the king and the girl. It is said that at that moment, Allah caused a miracle, the severed head of Yahya spoke by Allah's power, saying, "It is not lawful for you!" in reference to the illicit relationship. This terrified the king and all those present. The historical Islamic reports mention that upon seeing this sign, the woman who plotted Yahya's death suddenly died on the spot. The king too was said to be shocked and frightened by what he had done.

Although the exact details differ in various narrations, the essence is the same: Prophet Yahya was killed for his righteousness and honesty. He became a martyr because he would not compromise Allah's law, even when pressurized by a tyrant. The Quran does not detail this event, but it alludes to the violent history of Bani Isra'il, stating that they "killed the prophets unjustly" (Quran 2:61). Prophet Yahya's martyrdom is a fulfillment of that statement, a prophet slain by unjust rulers.

Yahya's death is a somber reminder that speaking truth can require the ultimate sacrifice. However, his courage inspires Muslims to stand firm on principles even in the face of persecution. He valued Allah's pleasure over his own life. In Islamic belief, Yahya simply transitioned to a higher life, as all martyrs do, he is alive in the presence of his Lord, rewarded and at peace. The Prophet Muhammad (ﷺ) once mentioned that on the night of the Mi'raj (the Ascension to the heavens), he met Prophet Yahya in the second heaven along with Prophet 'Isa. In an authentic Hadith, the Prophet (ﷺ) said:

"When I was taken up (through the heavens), I saw John (Yahya) and Jesus, who are cousins, together on the second heaven. Jibril said: 'These are John and Jesus; greet them.' So I greeted them, and they returned the greeting, saying: 'Welcome, O righteous brother and prophet!'" (Sahih al-Bukhari 3247; Sahih Muslim 164)

Even in the heavens, Yahya is recognized as a righteous soul and a prophet of Allah, and he warmly welcomed Prophet Muhammad (ﷺ) as a brother. This encounter, which happened centuries after Yahya's martyrdom on earth, shows that Yahya indeed lives on in an honourable state. It also affirms the brotherhood of all prophets, how beautiful that Yahya and 'Isa were together when our Prophet met them, just as they were together in their mission on earth.

Islamic historical works add that after Prophet Yahya's murder, Prophet Zakariyya (his father) was also sought by the corrupt authorities. According to some reports, when Zakariyya heard of his son's killing, he invoked Allah's curse on the perpetrators, and by Allah's will those individuals died on the spot. Fearing Zakariyya's influence and anger, the people (or the army of the tyrant) then went after Zakariyya himself. There is a narrative that Zakariyya fled and hid inside the trunk of a tree, and by a miracle the tree closed around him. However, Satan (or a wicked person) pointed out the edge of Zakariyya's garment, and the enemies proceeded to saw the tree in half, killing Zakariyya in the process. Thus, Prophet Zakariyya too became a martyr. These stories come from traditional Islamic sources and parallel some Judeo-Christian traditions about a martyrdom of a righteous man named Zechariah. While the Quran does not narrate Zakariyya's death, it is generally believed in Islam that he was also murdered by his people, as many other prophets of Bani Isra'il were. If true, it means father and son (Zakariyya and Yahya) both gave their lives for the cause of Truth. They joined the ranks of martyrs (shuhada') who are promised eternal life and reward in the Hereafter.

These tragic endings carry important wisdom. Allah's plan was unfolding: the time of Jesus's mission was at hand, and Yahya had completed his role in preparing the way. The removal of these two prophets (Yahya and eventually 'Isa, whom Muslims believe was raised up by Allah and saved from crucifixion) signaled the end of prophethood among the Children of Israel. After a long gap, the final Prophet (Muhammad (ﷺ)) would arise in Arabia to universalize the message for all humanity. So the era of Zakariyya and Yahya was among the last chances for Bani Isra'il to heed guidance. Their rejection and killing of prophets brought Allah's wrath upon them. Not long after, historical records show that the Romans (under Emperor Nero and General Titus) punished the Holy Land, and the Temple in Jerusalem was destroyed in 70 CE, a catastrophe many see as divine retribution for the misdeeds towards prophets like Yahya and others.

For Muslims, Prophet Yahya's martyrdom is honored and not seen as a defeat. He fulfilled his mission with excellence and courage. The Prophet Muhammad (ﷺ) once named Yahya and Yusuf (Joseph) as the two best people in virtue among the Children of Israel. Yahya's unwavering chastity, truthfulness, and sacrifice make him a symbol of integrity.

Lessons and Legacy for Muslims

The story of Prophet Zakariyya and Prophet Yahya (peace be upon them) is rich with lessons that are directly relevant to our lives as Muslims today. It's not just a tale of the past, it's a guide and inspiration for how we should conduct ourselves and what values we should uphold. Here are some key takeaways and how they affect us:

  • Never lose hope in Allah's mercy: Prophet Zakariyya's example teaches us to trust Allah completely, even when things seem impossible. He and his wife were elderly and had no children, yet Zakariyya did not stop making du'a' for a righteous child. He prayed sincerely and privately, full of hope. As Muslims, we should never despair or think our problems are too big for Allah. Whether it's illness, infertility, poverty, or any hardship, always turn to Allah with hope. Allah says in the Quran, "And who despairs of the mercy of his Lord except those astray?" Surely, if Allah could grant Zakariyya a child in old age, He can grant us our needs in due time. Our du'a' may be answered in ways we don't expect, but every sincere prayer is heard. We should continue to make du'a' persistently, with firm faith that Allah is listening and will respond with what is best. Patience and perseverance in supplication are key. Sometimes the delay in answer is actually a blessing to test our sincerity or to give us even more than we asked. Zakariyya's story shows that no prayer is ever wasted.

  • Righteous offspring and family life: Zakariyya prayed not just for a child, but specifically for an offspring who would be pleasing to Allah and carry on the work of goodness. This highlights the Islamic emphasis on quality of upbringing over mere quantity of children. For those of us blessed with children or hoping for children, the goal should be to raise them as righteous servants of Allah. We learn to ask Allah for pious children and then make the effort to teach and guide them in the religion. The bond between Zakariyya and Yahya also shows the importance of family in nurturing faith. Zakariyya himself was a guardian to Maryam, instilling in her devotion, and then he raised Yahya in an environment of piety. We too should create a home where faith is lived and taught. This includes being good role models, Yahya saw his own father's devotion and trust in Allah. Indeed, the fact that Yahya was dutiful and kind to his parents is a sign that Zakariyya and his wife must have shown him love and guided him well. As Muslims, respecting and caring for parents is a major lesson in this story (just as Yahya did), and likewise parents must fulfill their duty to nurture their kids with love, knowledge, and good character.

  • The power of youth in worship: Prophet Yahya exemplified that one is never too young to be devoted to Allah. He obtained wisdom as a child and spent his youth in worship, knowledge, and service. In modern times, people often think youth is only for play and indulgence, but Yahya's life challenges that notion. Young Muslims can take inspiration from him to engage in beneficial pursuits, seek Islamic knowledge, be compassionate, and even positively influence others. Yahya was likely a teenager or in his early twenties when he started preaching publicly, yet he moved an entire nation! This shows that youth are capable of great contributions in Islam. Our Prophet Muhammad (ﷺ) also valued youth, many early companions were young (like 'Ali, Aisha, Ibn Abbas, Usama bin Zayd, etc.) who took on big responsibilities. We learn that being young is not an excuse to drift away from religion; rather, it's the best time to develop strong faith and habits. Yahya's celibacy and extreme chastity also teach an important principle: controlling one's desires and avoiding the many temptations that come, especially in youth. While Islam encourages marriage for those who can, the underlying lesson is purity and avoiding sin. In today's world, with so many immoral temptations, we can remember Yahya as a role model of someone who guarded his chastity and honored Allah above all else. The Prophet (ﷺ) said that among the seven types of people who will be shaded by Allah on Judgment Day is "a youth who grew up in the worship of Allah". We should strive to be that youth, or encourage our youth towards that path.

  • Humility and obedience: Both Zakariyya and Yahya show remarkable humility. Zakariyya prays in a lowered voice, acknowledging his weakness and need. Yahya remains humble with his parents and before Allah, never being arrogant despite his knowledge and status. This reminds us that no matter what we achieve or how much we know, we must stay humble and obedient to Allah and respectful to our elders. Arrogance can destroy good deeds, whereas humility raises one's rank with Allah. We should also be humble in prayer, as Zakariyya was, and in how we deal with others. Yahya's gentleness and compassion teach us to be kind-hearted. Our piety isn't just rituals; it should make us more merciful and caring, just as Yahya showed mercy to people and animals.

  • Upholding truth and morality: Perhaps one of the strongest lessons from Prophet Yahya's life is his fearless commitment to speaking the truth. He did not remain silent when he saw corruption and immorality, even when the sinner was a powerful king. As Muslims, we are taught to enjoin good and forbid evil to the best of our ability. Of course, we must use wisdom, gentleness, and the right approach, but we should not shy away from saying what is right out of fear or desire for approval. Yahya could have chosen to stay quiet to save himself, but that would have betrayed his prophetic mission. Today, we might face situations (big or small) where we have to choose between being truthful to Islamic principles or going along with wrong just to fit in or avoid conflict. Yahya's martyrdom sends a clear message: stand up for what is halal and condemn what is haram, regardless of the audience. This is especially relevant in an age where moral relativism is common and Islamic values are often challenged. We must find courage, tact, and strength from examples like Yahya to voice the truth. Even if one suffers consequences, Allah's reward is infinitely greater. Yahya's reward for martyrdom was Paradise; for us, any sacrifice we make for Allah's sake will never be in vain.

  • The unity of Allah's message: The stories of Zakariyya and Yahya also highlight that Islam is the continuation and completion of the same message taught by all prophets. A Muslim must believe in all the prophets and respect them. In our daily prayers, we send peace upon "Ibrahim and the family of Ibrahim" and we mention "Zakariyya, Yahya, Isa, and Ilyas" by name in the Quran as among the righteous. Understanding their lives strengthens our faith in the consistency and truth of Islam. We see that Prophet Muhammad (ﷺ) came with the same tawhid and values that Zakariyya and Yahya upheld. This can be a point of da'wah (inviting others to Islam) as well: explaining to Christian or Jewish friends that we honor Zechariah and John the Baptist and Mary and Jesus, but in a pure monotheistic framework, free of inconsistencies. Islam presents the best and most coherent view of these prophets, as noble humans and messengers, not God or sons of God, and without negative attributions. For example, some later texts outside the Bible had unsavory stories about John, but the Islamic narrative keeps Yahya's honor and sinlessness intact, showing the perfection of Allah's chosen prophets. This is part of the beauty of Islam: it defends the dignity of the prophets and gives them their due respect. As Muslims, we should be proud of this and share it with others, demonstrating that Islam truly preserves the legacy of righteousness from Adam to Muhammad (ﷺ).

  • Rewards of steadfastness: Zakariyya and Yahya both attained the pleasure of Allah through their steadfastness. Zakariyya's patience was rewarded with a miraculous child. Yahya's brave martyrdom earned him eternal life and honor. Allah may not test us exactly in those ways, but when we show patience in trials and steadfastness in faith, Allah will certainly reward us. It might be through relief and blessings in this life, or he might reserve a great reward for us in the Hereafter, or both. The Quran states, "Indeed, those who say: 'Our Lord is Allah' and then remain steadfast, the angels will descend upon them (at death) saying: Do not fear or grieve; receive glad tidings of Paradise…." (41:30). We see this with Yahya: he stood firm for Allah, and we find him welcomed by angels in heaven in the Mi'raj hadith. We should remember that any difficulty we face for Allah's sake, whether it's ridicule, injustice, or even physical harm, Allah is aware and will compensate us justly. This gives comfort and motivation to remain on the straight path.

  • Importance of knowledge and scripture: The command to Yahya, "Hold fast to the Scripture," is a direct instruction to be firmly connected with the revealed book (the Torah in his case). For us, it is a call to hold tightly to the Quran and the teachings of the Prophet Muhammad (ﷺ). We should be people of the Quran, reading it, understanding it, and applying it. It's notable that Yahya was given wisdom as a child, meaning he must have studied and learned Allah's revelations diligently even in youth. Seeking Islamic knowledge is highly valued in our tradition. We should educate ourselves and our families in the Quran and Sunnah, deriving lessons like we are doing right now. This knowledge is what lights the path for us to navigate life's challenges. It was Yahya's knowledge that gave him the clarity and confidence to confront the king, and Zakariyya's knowledge that guided him to make such a beautiful du'a'.

  • Consensus of the Muslim scholarly tradition: It's worth noting that the story of Zakariyya and Yahya is unanimously affirmed in Islam. All scholars of Ahl al-Sunnah, whether of the Hanafi, Maliki, Shafi'i, or Hanbali school of thought, accept the Quranic narrative of these prophets without any major differences. This is a matter of belief ('aqidah) and these prophets' lives are not subjects of juristic disagreement. The four schools of Islamic law might differ on certain legal rulings, but regarding the lessons of these prophets, they are all in agreement. For instance, all schools emphasize sincere du'a' (using Zakariyya's story as evidence of its power) and all schools emphasize enjoining good and forbidding wrong (often citing stories of prophets like Yahya). There might be minor interpretive remarks in commentaries, for example, whether Yahya literally never married or simply remained pure within marriage, but these do not affect the overall inspirational message. In essence, the mainstream Sunni scholarship presents Zakariyya and Yahya as models of piety and there is no controversy about their esteemed status. This consistency across scholars and time is a sign of the clear truth and appeal in their story.

  • Role models of devotion and sacrifice: Finally, Zakariyya and Yahya serve as role models for us. Zakariyya represents the devoted elder, the one who remains faithful to Allah over a long lifetime and never loses faith. Many older Muslims can relate to Zakariyya's yearning, perhaps for their family's guidance or for personal needs, and can find comfort in his story that it's never too late for Allah's aid. Yahya represents the passionate youth who dedicates his life to Allah and is willing to give up everything for the truth. Young Muslims, especially, can look up to Yahya as a hero of Islam who shows that true success is in pleasing Allah, not in chasing trends or fearing people. Both father and son were devout worshippers (praying, fasting, remembering Allah) and also active in society (teaching, guiding, and standing for justice). We are encouraged to incorporate both aspects: nurture your personal connection with Allah and be prepared to act publicly for good when needed.

In summary, the narrative of Zakariyya and Yahya (John) is one of faith, family, and sacrifice. It reinforces that Islam is about complete submission to Allah's will and trusting His plan. As we move forward in our own lives, we should carry their lessons with us. In times of personal need or despair, remember Zakariyya's hopeful prayer and Allah's ability to grant miracles. In times of moral confusion or pressure, remember Yahya's unwavering stance and Allah's support for those who uphold the truth.

Conclusion

The story of Prophet Zakariyya and Prophet Yahya (peace be upon them) shines as a beacon of hope and guidance for the Muslim ummah. It reminds us of the truth and beauty of Islam, a religion that links our hearts directly to Allah through du'a' and worship, and also calls us to courage and integrity in our daily lives. Zakariyya's heartfelt supplication and Yahya's pure, principled life encapsulate the balance a Muslim strives for: deep spiritual devotion on one hand, and steadfast moral action on the other.

In our own life journeys, we may face moments that echo the experiences of these noble prophets. We might feel the ache of a prayer that has not been answered yet, like Zakariyya felt year after year longing for a child. In those moments, we should not give up. Zakariyya's story teaches us to keep praying and keep trusting, because Allah can open doors that we never imagined. We should continue to worship Allah with love and hope, knowing He hears us. The answer to our du'a' could be just around the corner - "Indeed, with hardship (comes) ease." (94:6)

We may also encounter situations where standing up for what is right makes us unpopular or even puts us at risk, like Prophet Yahya experienced. It might be something as simple as advising a friend to quit a harmful habit, or as challenging as reminding our community leaders to be just. Prophet Yahya's legacy urges us to be brave and sincere, to speak the truth with wisdom and without fear. Even if the whole world is on one side and the truth is on the other, a Muslim stands with the truth. This moral courage is needed today more than ever, whether it's confronting dishonesty, injustice, or harmful cultural trends. We should do so with compassion (as all prophets were compassionate), but also with firmness.

the lives of Zakariyya and Yahya encourage us to value piety over materialism. In a time where success is often measured in wealth and status, we remember that Zakariyya found joy in worship and family, and Yahya found fulfillment in asceticism and preaching. Their wealth was taqwa (God-consciousness) and 'ilm (knowledge), and their status was with Allah, not with the worldly elite. This perspective can help us prioritize what truly matters. Our relationship with Allah, our sincere worship, our raising of righteous children, our service to the community, these are far more important than chasing worldly ambitions that have no lasting value.

As Muslims, we consider all prophets as a brotherhood, and we send peace and blessings upon Zakariyya and Yahya just as we do upon our beloved Prophet Muhammad (ﷺ). When we recite their verses in the Quran, we feel a connection to them. They are part of our spiritual heritage. It's heartwarming to think that on the Day of Judgment, in sha' Allah, we may meet these prophets in Paradise, Prophet Zakariyya, with his gentle, aged smile, and Prophet Yahya, in the prime of youth, both shining with the light of iman. What an honor that will be for those who stay true to the path of these prophets.

In conclusion, the truth and beauty of Islam are exemplified in stories like these. They show us a religion that emphasizes hope, family values, personal virtue, and social justice all at once. The Quran not only tells these stories but does so in a way that touches the heart and transforms the soul. Let us carry the lessons of Zakariyya and Yahya in our hearts: intimate devotion to Allah, gratitude for His gifts, strong moral character, and readiness to sacrifice for the truth. If we do so, we will find Allah's help in our lives just as they did, perhaps not in the form of dramatic miracles, but in countless subtle blessings and guidance every step of the way.

May Allah grant us the patience of Zakariyya and the purity and courage of Yahya. May He make us among His devout servants who uphold His deen in every circumstance. And may He reunite us with these beloved prophets in the eternal life of the Hereafter, where we can personally convey our salaam to them and bask in the pleasure of Allah's reward. Amin.

Quran Verses about Zakariyya and Yahya

The Quran honors Prophets Zakariyya and Yahya by mentioning their story and virtues in several chapters. Here are some of the main Quranic verses related to them:

Surah Maryam 19:2-11 - (This is) a mention of your Lord's mercy to His servant Zakariyya; when he called upon his Lord in secret. He said, 'My Lord, indeed my bones have grown feeble, and grey hair has spread on my head, and I have never been disappointed in my prayer to You, O my Lord. And indeed, I fear (the behavior of) my relatives after me, and my wife is barren. So grant me from Yourself an heir, who will inherit from me and inherit from the family of Ya'qub. And make him, my Lord, pleasing (to You).' (Allah answered:) 'O Zakariyya, indeed We give you good news of a boy whose name will be Yahya. We have not given this name to anyone before.' He said, 'My Lord, how can I have a boy when my wife is barren and I have reached extreme old age?' (The angel) said, 'So it will be. Your Lord says: It is easy for Me, for I certainly created you before, when you were nothing.' (Zakariyya) said, 'My Lord, appoint for me a sign.' He (Allah) said, 'Your sign is that you will not speak to the people for three nights (i.e., days) while in sound health.' So Zakariyya came out to his people from the sanctuary and signaled to them to exalt Allah in the morning and afternoon.

Surah Maryam 19:12-15 - (We commanded:) 'O Yahya! Hold firmly to the Scripture.' And We gave him wisdom (sound judgment) as a young boy, and We gave him tenderness from Us and purity, and he was righteous and devout, and dutiful to his parents. And he was not a disobedient tyrant. So Peace be upon him the day he was born, the day he dies, and the day he will be raised to life (again).

Surah Ali 'Imran 3:37-41 - So her Lord accepted (Maryam) with a good acceptance and caused her to grow in a good manner, and He put her in the care of Zakariyya. Whenever Zakariyya entered upon her in the prayer chamber, he found with her provision. He said, 'O Maryam, from where is this coming to you?' She said, 'It is from Allah. Truly Allah provides for whom He wills without measure.' Thereupon Zakariyya prayed to his Lord, saying, 'My Lord, grant me from Yourself a good offspring. Indeed, You are the Hearer of prayer.' So the angels called him while he was standing in prayer in the chamber, 'Allah gives you glad tidings of Yahya, confirming a Word from Allah, and (he will be) noble and chaste, a prophet from among the righteous.' He said, 'My Lord, how can I have a boy when I have reached old age and my wife is barren?' (The angel) said, 'So (it will be). Allah does what He wills.' (Zakariyya) said, 'My Lord, make for me a sign.' (Allah) said, 'Your sign is that you will not (be able to) speak to people for three days except with gestures. And remember your Lord much and glorify (Him) in the evening and morning.'

Surah Al-An'am 6:85 - And (We guided) Zakariyya, Yahya, 'Isa, and Ilyas - each one of them was among the righteous.

Surah Al-Anbiya 21:89-90 - And (remember) Zakariyya, when he called out to his Lord, 'My Lord, do not leave me alone (with no heir), while You are the best of inheritors.' So We responded to him and granted him Yahya, and We cured his wife for him (enabling her to bear a child). Verily, they used to hasten to good deeds and supplicate Us in hope and fear, and they were humble before Us.

These verses collectively narrate the virtuous lives of Zakariyya and Yahya, from the miraculous conception of Yahya to the qualities that made him a noble prophet. They are recited by Muslims in their original Arabic during prayers and reflections, and they provide guidance and comfort, reinforcing our faith in Allah's plan and mercy.

Sahih Hadith about Zakariyya and Yahya

Authentic sayings of Prophet Muhammad (ﷺ) also reference Prophets Zakariyya and Yahya, highlighting their status and the lessons from their lives. Here are some Sahih (authentic) hadiths related to them:

Prophet Zakariyya's Profession: Abu Hurairah (may Allah be pleased with him) reported that the Messenger of Allah (ﷺ) said: Zakariyya was a carpenter. (Sahih Muslim 2379) This hadith shows that Zakariyya earned his living through honest work. It reminds us that all prophets engaged in dignified labor and that working a halal profession is honorable and does not contradict reliance on Allah.

Meeting Yahya and 'Isa in Heaven: Malik bin Sasaa' (may Allah be pleased with him) reported that the Prophet (ﷺ) described his Night Journey (Al-Isra' wal-Mi'raj), saying: ...Then we ascended to the second heaven. Jibril requested entry... I saw there Yahya (John) and 'Isa (Jesus) - they are cousins. Jibril said: 'These are Yahya and 'Isa; greet them.' So I greeted them, and they returned the greeting, saying: 'Welcome, O righteous brother and Prophet!' (Muttafaqun 'Alayh - Agreed upon by Bukhari and Muslim). This hadith demonstrates the high rank of Prophet Yahya as he is in the company of Prophet 'Isa in the heavens, and how they warmly received Prophet Muhammad (ﷺ). It also highlights the brotherhood and consistent message among the prophets.

Yahya's Five Commandments: (The lengthy hadith about Yahya's five commandments to Bani Isra'il, narrated by Al-Harith Al-Ash'ari and recorded in Sunan At-Tirmidhi 2863, was quoted in full in the section above. It has been graded sahih (authentic) by Imams Tirmidhi and Al-Albani.) In summary, Prophet Muhammad (ﷺ) related that Allah had commanded Yahya with five directives to implement and teach: to worship Allah alone without shirk, to establish prayer with focus, to fast, to give charity, and to make constant remembrance of Allah. These were the core principles Prophet Yahya taught his people, and the Prophet Muhammad (ﷺ) affirmed them and added that he too was commanded with five things (which include upholding the community and Jihad for the sake of Allah). The hadith shows the continuity between Yahya's message and Islamic teachings.

Yahya's Virtue of Never Sinning: The Messenger of Allah (ﷺ) said: There is none among the children of Adam but that he has erred or intended to err, except Yahya ibn Zakariyya. (Musnad Ahmad 2/174 - authenticated by Shaykh Al-Albani in Silsilat al-Ahadith as-Sahihah) This narration extols the exceptional purity of Prophet Yahya - that unlike others, he never committed a sin nor even considered it. It underscores his title of "Hasur" (chaste and restrained) as mentioned in the Quran, and it shows Islam's respect for Yahya's character. Some scholars have explained that any minor slips were also averted from Yahya, making him virtually free of fault by Allah's grace. This hadith teaches us about Allah's gift of protection to some of His beloved servants and inspires us to strive for purity and repentance from our own mistakes..

These authentic hadiths enrich our understanding of Zakariyya and Yahya. They confirm the Quranic narrative, add details (like Zakariyya's carpentry), and emphasize the high status of these prophets in Islam. They also provide practical lessons: working lawfully, maintaining devotion and focus in worship, committing to fundamental acts of faith, and living a life of purity and remembrance of Allah. By studying these hadiths, Muslims can glean guidance on how to emulate these prophets in our own conduct.

Views of Islamic Scholarship

Mainstream Sunni scholarship has consistently held Prophets Zakariyya and Yahya in the highest esteem, drawing lessons and rulings from their stories. There are no major differences of opinion among the Sunni schools of thought (Hanafi, Maliki, Shafi'i, Hanbali) regarding the narrative of Zakariyya and Yahya. Their story is a matter of Quranic text and well-known Hadith, so all scholars accept it as is. Any minor scholarly discussions relate to interpretation details rather than core facts, for example, what exactly "hasur" (chaste) implies or how to reconcile Zakariyya's request for an heir with prophets not leaving inheritance of wealth. On such points, scholars uniformly explain that "inheritance" in Zakariyya's context meant inheriting prophethood and knowledge, not material goods.

The classical Tafsir scholars like Imam Ibn Jarir al-Tabari, Imam Ibn Kathir, and Imam Al-Qurtubi all recount the story of Zakariyya and Yahya in their commentaries on Surahs Ali 'Imran and Maryam with essentially the same understanding. They emphasize Zakariyya's sincerity in du'a', Allah's power in granting Yahya, and the virtues of Yahya as a model servant of Allah. Imam Ibn Kathir in his Stories of the Prophets details both the Quranic story and historical reports about Yahya's martyrdom, highlighting the moral that sometimes the best of people are tested with persecution . Imam al-Tabari in his Tarikh al-Rusul wal-Muluk (History of Prophets and Kings) also narrates these events, including various traditions about how Yahya was killed and the aftermath . These are not seen as contradictions but as complementary historical information on top of the Quran. Sunni scholars usually mention such historical narrations with the note that even if some details come from Judeo-Christian sources, the overall premise (that Yahya was unjustly killed and Zakariyya possibly as well) aligns with the Quranic indictment of Bani Isra'il for killing prophets.

Among the four schools, there isn't a "Hanafi view" versus "Shafi'i view" on this story, it's universally accepted. In matters of Fiqh (law), they might derive some rulings inspired by elements of the story. For instance, the fact that Zakariyya was given a sign of temporary silence is taken by scholars to indicate that the previous Shari'ah allowed vows of silence, whereas in the Shari'ah of Muhammad (ﷺ), we do not practice silence as a form of worship (rather, we speak good or remain silent from evil speech). All schools agree on that abrogation. Another fiqh point: the prohibition of marriage to one's niece or brother's wife that Yahya upheld is also upheld in Islamic law unanimously (with the exception that marrying a brother's widow is allowed in Islam if she's divorced or after he dies, but marrying a woman who is one's niece remains forbidden to all). So essentially, Yahya was enforcing a moral law that Islam also enforces, no scholar ever disputed that.

Modern scholars and commentators also often reference Zakariyya and Yahya to stress family values and morality. For example, contemporary Tafsir works like Ma'ariful Quran by Mufti Muhammad Shafi or Tafheem-ul-Quran by Abul A'la Maududi discuss how Zakariyya's prayer teaches us about making du'a' and how Yahya's qualities exemplify a righteous youth. They address modern skepticism too, such as clarifying the "no one had this name before" issue by explaining the various interpretations (unique name vs. unique attributes) to show there's no error in the Quran. This helps in dawah, showing Islam's account is miraculous yet consistent.

In all, Islamic scholarship presents a united front in admiration of these two prophets. Hanafi, Maliki, Shafi'i, and Hanbali scholars all use Zakariyya's story to encourage believers in making heartfelt du'a' and having patience. They use Yahya's example to urge youth towards piety, to illustrate the importance of commanding good and forbidding evil, and as a precedent for standing against tyrants. There is a complete ijma' (consensus) that Zakariyya and Yahya were among the best of mankind, and their stories are cited in works of Tafsir, Hadith commentary, history, and ethics universally. As students of knowledge or simply as believers, when we read the exegesis (tafsir) of these Quranic passages, we find a rich, unanimous elaboration that reinforces the simple reading: Allah's power is limitless, He blesses the faithful in wonderful ways, and standing up for the truth is part of true faith.

How This Story Impacts Us Today

The lives of Prophets Zakariyya and Yahya are not just tales to recount; they carry profound implications for how we, as Muslims, should live and view our world. Here are ways this story affects us and how we can move forward with its lessons:

  • Strengthening Our Faith in Du'a': Zakariyya's answered prayer should instill in us a firm conviction in the efficacy of du'a'. We should make du'a' our first resort in times of need, not the last. Whether one is longing for a child, facing illness, or any difficulty, Zakariyya's example teaches us to pray sincerely and never give up hope. Allah says, "Call upon Me; I will respond to you" (40:60). Knowing how Allah responded to Zakariyya, we can approach our supplications with positivity and patience, expecting the best from Allah. This attitude can bring peace to our hearts even before the answer arrives.

  • Valuing Righteous Children and Legacy: In an age of material obsession, Zakariyya prioritized a righteous heir over all else. For those of us who are parents (or hope to be), this recalibrates our priorities. We should invest time in our children's moral and spiritual education, not just their worldly education or comfort. The true legacy we leave is faith and values, not wealth or property. If someone doesn't have children, they can still seek to leave a legacy of goodness - perhaps by mentoring youth, supporting Islamic institutions, or contributing knowledge. Zakariyya wanted someone to continue the mission of truth; we too should be part of continuing that mission, raising or mentoring the next generation of Muslims to be God-conscious and courageous.

  • Youth Empowerment and Purity: Prophet Yahya's story is a rallying call for Muslim youth. It tells them: You are capable of great righteousness! In a world that often tempts young people into moral compromise, Yahya proves that youth can be spent in worship, learning, and service. Communities should empower the youth to take roles in the masjid, in dawah projects, in charity - just as Yahya took on prophethood's responsibilities early on. Yahya's commitment to chastity speaks directly to today's challenges of preserving modesty. Muslims should take practical steps to help our youth stay pure: encouraging timely marriage for those who can, promoting halal social circles, and providing education on Islamic guidelines for gender interaction. We should revive the idea that real strength is in controlling one's desires, not indulging them. Parents and leaders can use Yahya's example to gently guide youth about avoiding zina (fornication) and lowering the gaze, highlighting that these are marks of honor, not repression.

  • Social Justice and Speaking Truth: Yahya's fearless stance against wrongdoing inspires Muslims to be socially responsible. Silence in the face of injustice is not an option if we truly follow the prophets. Depending on one's capacity, speaking truth can range from advising a family member to addressing community issues or even societal injustices. For example, if corruption, racism, or immorality is prevalent around us, we should not simply acquiesce. We might write articles, counsel people, raise awareness, or any peaceful means to stand up for what's right. Of course, we pair our courage with wisdom - Yahya delivered his message to the king when asked for a verdict, and he did so calmly but firmly. So we too should choose the right moment and words. We should also be prepared that standing for truth can sometimes bring trials. This is where faith (iman) fortifies us - knowing that if we endure patiently, Allah is pleased with us and will reward us immensely.

  • Gratitude and Worship in Good Times and Bad: Zakariyya immediately thanked Allah and glorified Him when he got the good news - he told his people to engage in dhikr (glorifying Allah). Yahya remained in constant remembrance of Allah throughout his life and stayed grateful and patient until martyrdom. This teaches us to always find time to remember Allah and be grateful, regardless of circumstances. When Allah blesses us (like when Zakariyya was blessed with Yahya), we should increase in worship and public gratitude. When we face hardship (like the persecution Yahya faced), we should also increase in remembrance and trust in Allah's wisdom. In practical terms, we can implement this by maintaining our daily prayers and adhkar (morning-evening remembrances) conscientiously, and by saying Alhamdulillah frequently for all situations. This attitude will keep our hearts content and resilient.

  • Unity of Message - Building Bridges: Recognizing that Yahya is the same person as John the Baptist who is revered in Christianity (and Zakariyya is a figure in their tradition too), we Muslims can use this as a point of connection in interfaith dialogues. It's a beautiful dawah opportunity to explain that Islam honors these figures and perhaps clarify misunderstandings. For instance, Christians might be interested to know that according to Islam, John (Yahya) was a supporter of Jesus but not in a divine sense - rather, both were prophets serving One God. We can show how the Islamic narrative upholds the purity and devotion of these prophets without any of the ambiguities found in other texts. In a world with so much division, emphasizing our shared figures can foster mutual respect and open avenues to introduce the message of Islam more broadly.

  • Reliance on Allah's Plan: Both prophets' stories reinforce Tawakkul (reliance on Allah). Zakariyya had no idea how Allah would solve his predicament, but he relied on Him. Yahya likely knew speaking against the king could bring harm, but his reliance on Allah's decree was firm - he feared disobeying Allah more than the king. In our lives, we are often in situations where we must choose between what's right and what's easy. Reliance on Allah helps us choose the right thing. We understand that everything is in Allah's control. If He wills safety, no one can harm us; if He wills a test, then no precaution could avoid it. This doesn't mean to be reckless, but to have inner confidence that outcomes are in Allah's hands. So we do the right thing and leave the results to Allah, just as Yahya did. As a result, we free ourselves from excessive anxiety about worldly consequences - our concern becomes primarily about Allah's pleasure.

  • Commemorating the Righteous: While Islam doesn't have formal "saints' days" or anything, it is spiritually uplifting to remember the righteous people like Zakariyya and Yahya often. We can do this by reading their Quranic passages in our personal study or even naming our children after them (Yahya is actually used as a name among Muslims, and Zakariyya too). Telling their stories to our children and community keeps their legacy alive. For instance, in family bedtime stories or youth lectures, narrating how Yahya stood up to a king or how Zakariyya made dua for decades gently instills those values in hearts. This is part of how we "connect the hearts to role models outside the pop-culture icons" and instead to the true heroes of faith.

In essence, moving forward with this topic, we should strive to embody the traits of Zakariyya and Yahya in our context. That means being devout worshippers, loving parents or mentors, active contributors to society's moral compass, and uncompromising believers in tawhid and justice. The world will surely become a better place if more people take inspiration from these prophets. At the very least, our own lives will become more meaningful and guided.

Finally, as Muslims we find comfort that these prophets are part of our spiritual lineage. They faced trials and triumphs much like we do, and Allah guided them through. We ask Allah to guide us through our trials in the same way, and to grant us a portion of their steadfastness and piety. When we say "Allahumma salli 'ala Muhammad wa ali Muhammad, kama sallayta 'ala Ibrahim wa ali Ibrahim" in our prayers, we believe Yahya and Zakariyya, as part of that family of prophets, also receive peace and blessings. May we live in a way that when we depart this world, we are worthy of joining the company of such righteous souls in the hereafter. Amin, ya Rabb al-'alamin.

Sources

# Source
1 Ibn Kathir - "Stories of the Prophets" (Qisas al-Anbiya). A classical work that includes the lives of Zakariyya and Yahya, highlighting their virtues and the circumstances of Yahya's martyrdom.
2 Mufti Muhammad Shafi - "Ma'ariful Quran". A comprehensive Urdu/English tafsir; provides commentary on Surah Maryam and Surah Ali 'Imran regarding Zakariyya's dua and Yahya's qualities, with lessons for readers.
3 Imam al-Tabari - "Tarikh al-Rusul wal-Muluk (History of Prophets and Kings)". A renowned historical chronicle that records prophetic histories. Contains narrations about Prophet Yahya's life and death as transmitted through early Islamic sources.