The prophet Yahya story is the story of a child given wisdom, a young man of extraordinary purity and a prophet who never compromised the truth.
Yahya (John, peace be upon him) was the son of Prophet Zakariya, born to elderly parents as an answer to du’a. Allah gave him a name no one had carried before, granted him judgement while still a child and described him as gentle, pure, dutiful to his parents and never arrogant or disobedient.
He confirmed the coming of Isa, his cousin, and was known for his deep fear of Allah and his many tears.
This guide covers the glad tidings of his birth, his qualities in the Quran, his mission, his relationship with Isa and the lessons for young Muslims today.
Who Was Prophet Yahya?
| Detail | Information |
|---|---|
| Name in Arabic | Yahya (يحيى) |
| Father | Prophet Zakariya |
| Relative | Prophet Isa (cousin, through their mothers) |
| People | Bani Isra’il |
| Main surahs | Al-Imran, Maryam, Al-Anbiya |
| Unique honour | A name no one had before him |
| Met in the Mi’raj | In the second heaven, with Isa |
The Glad Tidings
“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).
In Al-Imran, the angels said he would be “confirming a word from Allah, and he will be a leader, chaste and a prophet from among the righteous” (3:39).
The “word from Allah” refers to Isa, who was created by Allah’s word “Be.”
Yahya’s Qualities in the Quran
“O Yahya, take the Scripture with strength. And We gave him judgement while yet a boy, and affection from Us and purity, and he was fearing of Allah, and dutiful to his parents, and he was not a disobedient tyrant. And peace be upon him the day he was born and the day he dies and the day he is raised alive” (Maryam 19:12–15).
| Quality | Arabic | Meaning |
|---|---|---|
| Strength in holding the Book | Bi-quwwah | Firm commitment to revelation |
| Wisdom as a child | Al-hukm sabiyya | Judgement and understanding while young |
| Compassion | Hanan | Tenderness towards people |
| Purity | Zakah | Purity of heart and deeds |
| God-consciousness | Taqiyya | Fearing Allah |
| Dutiful to parents | Barran bi-walidayh | Kind and obedient to parents |
| Not arrogant | Lam yakun jabbaran | Humble, not a tyrant |
| Chaste | Hasur | Restraining himself from desires |
Three moments of peace
Allah granted Yahya peace on the three most difficult days of any person: the day of birth, the day of death and the day of resurrection.
His Mission
Yahya called Bani Isra’il to return to sincere worship, repentance and obedience to the Torah.
Reports describe him as living simply, eating plain food and crying often from fear of Allah.
Five commands
The Prophet ﷺ reported that Allah commanded Yahya with five things to act on and teach Bani Isra’il: to worship Allah alone without partners, to pray, to fast, to give charity and to remember Allah much.
Yahya gathered the people in Bayt al-Maqdis and taught them these commands, giving a parable for each (Tirmidhi).
Yahya and Isa
Yahya and Isa were cousins and contemporaries. Yahya confirmed Isa’s message.
In the Mi’raj, the Prophet ﷺ met them together in the second heaven, and they welcomed him as “the righteous brother and the righteous prophet” (Bukhari and Muslim).
His Martyrdom
Many historical reports state that Yahya was killed unjustly by a tyrant ruler because he refused to approve an unlawful marriage.
The Quran mentions Bani Isra’il “killing the prophets without right” (Al-Imran 3:21). Yahya remained firm in truth until the end.
| Stage | Event |
|---|---|
| 1 | Zakariya’s du’a; glad tidings of Yahya |
| 2 | Born to elderly parents |
| 3 | Given wisdom as a child |
| 4 | Called Bani Isra’il to five commands |
| 5 | Confirmed the message of Isa |
| 6 | Martyred for speaking the truth |
Lessons From the Story of Prophet Yahya
1. Youth can be wise
Allah gave him judgement “while yet a boy.” Children and teenagers can be people of deep faith and understanding.
2. Hold the Quran with strength
“Take the Scripture with strength” means learning it, acting on it and defending it seriously.
3. Kindness to parents
Yahya’s dutifulness is highlighted among his top qualities. Prophets were the best of children.
4. Gentleness and humility
He was compassionate and “not a disobedient tyrant.” Strength in truth and softness with people go together.
5. Speak truth to power
He would not approve injustice even when it cost his life.
6. The five pillars of devotion
His five commands mirror the core practices of Islam: tawhid, prayer, fasting, charity and dhikr.
Where This Story Appears in the Quran
The account of Yahya 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 Yahya 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 Yahya 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: purity and holding the Book firmly |
| 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 Yahya. 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).
Yahya 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 purity and holding the Book firmly we see in the life of Yahya appears in his life too, in Makkah during persecution and in Madinah during leadership.
When you read about Yahya, 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 Yahya to Children
Children love stories, and prophet stories are the best stories they can hear. A few practical ideas:
- Tell it in short episodes. Break the story into three or four parts and tell one part each night.
- Use the Quranic words. Teach them one short phrase from the verses, such as the command to take the Scripture with strength, and its meaning.
- Ask questions. “What would you have done?” “How did Yahya feel?” “What did Allah do?”
- Draw a timeline. Let children illustrate each stage of the story.
- Link it to behaviour. When your child shows purity and holding the Book firmly, remind them that they are following Yahya.
- 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
- Which moment in the story of Yahya moved me the most, and why?
- Where in my life do I need more purity and holding the Book firmly?
- What does the command to take the Scripture with strength teach me about my relationship with Allah?
- How did Allah support Yahya, and how has He supported me in hard times?
- 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 Yahya 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 yahya 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 yahya 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 were Yahya’s parents?
Prophet Zakariya and his wife, who had been barren.
Was anyone named Yahya before him?
No. Allah said He had not given the name to anyone before.
Were Yahya and Isa related?
Yes, they were cousins.
Where did the Prophet ﷺ meet Yahya in the Mi’raj?
In the second heaven, together with Isa.
What were Yahya’s five commands?
Worship Allah alone, pray, fast, give charity and remember Allah often.
Final Thoughts
The prophet Yahya story is a model for every young Muslim: hold the Quran with strength, be gentle, be pure, honour your parents and never fear speaking the truth.
Read Surah Maryam 19:12–15 with your children and ask them which quality of Yahya they would like to build first.
Read the story of Yahya in the Quran with a tutor.
