The Story of Prophet Ayyub in the Quran

The Story of Prophet Ayyub in the Quran
Key Takeaways
Prophet Ayyub (AS) is mentioned explicitly in the Quran in four Surahs: Al-Anbiya, An-Nisa, Al-An’am, and Sad.
Allah tested Prophet Ayyub with severe illness, loss of wealth, and family trials that lasted for many years.
Ayyub’s supplication — “Indeed, adversity has touched me, and You are the Most Merciful of the merciful” — is among the most powerful du’as in the Quran.
Allah restored Ayyub’s health, family, and wealth after his patience, making his story the ultimate Quranic model of sabr.
The story of Prophet Ayyub teaches that trials are not signs of divine rejection but of divine selection and elevation.

Prophet Ayyub was a man of extraordinary faith — a prophet chosen by Allah — who lost nearly everything and still never severed his connection with his Lord. 

The story of Prophet Ayyub in the Quran is not a story of suffering alone; it is a story of what unwavering trust in Allah actually looks like when life falls apart.

1. Prophet Ayyub in the Quran is a Prosperous and Grateful Messenger of Allah

Prophet Ayyub (AS) was a prophet sent by Allah to the people of his time, and before his trial began, he lived a life of immense blessing. Classical scholars of Tafsir — including Ibn Kathir in his Al-Bidayah wa’l-Nihayah — describe Ayyub as having been blessed with abundant wealth, large family, fertile land, and robust health. He was deeply grateful to Allah for all of it.

Ayyub was known for his worship, his generosity to the poor, and his sincere devotion. Allah confirmed his status by describing him in the Quran as an excellent servant:

ۚ نِّعْمَ ٱلْعَبْدُ ۖ إِنَّهُۥٓ أَوَّابٌ

“ni’ma al-‘abd, innahu awwāb”

“Indeed, We found him patient, an excellent servant. Indeed, he was one repeatedly turning back [to Allah].” (Sad 38:44)

This verse was revealed about Ayyub. The title “excellent servant” was earned through the fire of patience, not granted before it.

2. Allah Permitted a Severe Trial to Descend Upon Prophet Ayyub

The trial of Ayyub (AS) began with the permission of Allah. Classical Tafsir scholars, including Ibn Kathir and Al-Tabari, explain that Ayyub was afflicted with a severe illness that spread across his body. His wealth diminished, his children were taken, and his physical suffering became prolonged and intense.

The Quran does not specify the exact nature of the illness, and Islamic scholars caution against adding details beyond what the authentic texts establish. What is confirmed Qur’anically is that the affliction touched him severely:

وَأَيُّوبَ إِذْ نَادَىٰ رَبَّهُۥٓ أَنِّى مَسَّنِىَ ٱلضُّرُّ وَأَنتَ أَرْحَمُ ٱلرَّٰحِمِينَ

“Wa Ayyūba idh nādā rabbahu annī massaniya al-durru wa anta arḥamu al-rāḥimīn”

“And [remember] Ayyub, when he called to his Lord, ‘Indeed, adversity has touched me, and You are the Most Merciful of the merciful.'” (Al-Anbiya 21:83)

Ayyub did not demand relief. He did not question Allah’s wisdom. He simply stated his condition and named Allah’s attribute — Arham al-Rahimin — the Most Merciful. That is the posture of a prophet in his deepest moment of pain.

Experience Riwaq Al Quran Classes

Watch real moments from our live sessions at Riwaq Al Quran and see how we bring learning to life. These clips highlight our interactive, student-focused approach designed to keep learners engaged, motivated, and actively involved in every step of their educational journey.

3. Prophet Ayyub Endured His Trial with Complete Silence Toward Complaint

One of the most profound aspects of Ayyub’s patience is what he did not do. For the duration of his illness — described in various narrations as many years — he did not complain to creation. 

Prophet Ayyub did not question Allah’s decree with bitterness. He bore the trial inwardly, with his tongue kept moist with remembrance rather than protest.

In our sessions at Riwaq Al Quran, when students study the Quranic stories of the prophets as part of our Islamic Studies Classes for Kids and adult programs, this aspect of Ayyub’s character consistently strikes the deepest chord — particularly with students going through personal hardship. 

Enroll Your Kid in Riwaq’s Islamic studies for Kids with a FREE trial

image 100

The distinction between expressing pain to Allah and complaining about Allah is something that Ayyub embodied perfectly.

Prophet Ayyub’s wife — named Rahma or Liya in classical scholarly accounts — remained beside him through the trial, serving him and supporting the household. 

She is the unnamed heroine of this story: a woman whose loyalty during her husband’s years of affliction reflects the highest standard of marital and human faithfulness.

4. Ayyub Called Upon Allah with the Most Humble and Powerful Du’a in the Quran

After years of patient endurance, Prophet Ayyub (AS) turned to Allah in supplication. The du’a recorded in Surah Al-Anbiya 21:83“annī massaniya al-durru wa anta arḥamu al-rāḥimīn” — is considered by scholars of Tafsir to be among the most profound prayers in the entire Quran.

What makes this du’a extraordinary is its structure. Ayyub did not say “remove this from me.” He did not set a condition or deadline. 

He acknowledged his state — “adversity has touched me” — and then immediately attributed mercy to Allah. The implicit trust in that structure is staggering. He placed his situation before the Most Merciful and left the outcome entirely to Allah’s wisdom.

For students learning to study and understand the Quran at a deeper level, this verse is a masterclass in Quranic du’a etiquette: state the truth, name an appropriate attribute of Allah, and release the outcome with full trust.

Begin your Islamic Studies with a FREE trial lesson

image 98

5. Allah Answered the Du’a of Ayyub Completely

The Quranic account makes clear that Allah’s response to Ayyub’s supplication was total. The verse that follows his du’a in Surah Al-Anbiya states:

فَٱسْتَجَبْنَا لَهُۥ فَكَشَفْنَا مَا بِهِۦ مِن ضُرٍّ ۖ وَءَاتَيْنَٰهُ أَهْلَهُۥ وَمِثْلَهُم مَّعَهُمْ رَحْمَةً مِّنْ عِندِنَا

“Fastajabna lahu fakashafna ma bihi min durrin wa ataynahu ahlahu wa mithlahum ma’ahum rahmatam min ‘indina”

“So We responded to him and removed what afflicted him of adversity. And We gave him back his family and the like thereof with them as mercy from Us.” (Al-Anbiya 21:84)

Allah used the word kashafa — He lifted away the affliction. And then He gave Ayyub his family back, and doubled what he had lost. 

The Surah in Sad provides an additional detail: Allah commanded Ayyub to strike the ground with his foot, and a spring of cool water emerged, by which he was healed by the permission of Allah.

ٱرْكُضْ بِرِجْلِكَ ۖ هَٰذَا مُغْتَسَلُۢ بَارِدٌ وَشَرَابٌ

Orkud birijlika hatha mughtasalun baridun washarabun

“[So he was told], “Strike [the ground] with your foot; this is a [spring for] a cool bath and drink.”  (Sad 38:42)

وَخُذْ بِيَدِكَ ضِغْثًا فَاضْرِب بِّهِۦ وَلَا تَحْنَثْ ۗ إِنَّا وَجَدْنَٰهُ صَابِرًا ۚ نِّعْمَ ٱلْعَبْدُ ۖ إِنَّهُۥٓ أَوَّابٌ

“Innā wajadnāhu sābiran, ni’ma al-‘abd, innahu awwāb”

“Indeed, We found him patient — an excellent servant. Indeed, he was one repeatedly turning back [to Allah].” (Sad 38:44)

Learn Islamic studies Mobile Learn Islamic Studies online Desktop

The Restoration of Prophet Ayyub Demonstrates That Divine Mercy Exceeds All Trials

The complete restoration of Ayyub’s health, wealth, and family is not a detail added for narrative comfort — it is a theological statement. 

Allah does not merely compensate those who are patient; He honours them. The Quran describes the restoration as rahmatam min ‘indina — “a mercy from Us” — language that emphasizes divine generosity, not simply divine justice.

This is the pattern the Quran teaches: genuine sabr is never wasted. The Prophet Muhammad ﷺ affirmed this principle when he said:

“No fatigue, illness, anxiety, sorrow, harm, or sadness afflicts a Muslim, even if it were the prick he receives from a thorn, except that Allah expiates some of his sins for that.” (Sahih al-Bukhari 5641)

The story of Ayyub is the living Quranic proof of this hadith.

Prophet Ayyub Story Summary: Key Facts at a Glance

The following table summarizes the authenticated key elements of Prophet Ayyub’s story as established in Quranic text and classical Tafsir:

ElementDetail
Quranic MentionsAl-Anbiya 21:83–84, Sad 38:41–44, An-Nisa 4:163, Al-An’am 6:84
Nature of TrialSevere illness, loss of family and wealth
Ayyub’s ResponsePatient supplication without complaint
The Du’a“Adversity has touched me, and You are the Most Merciful”
Method of HealingWater from a spring struck from the ground (Sad 38:42)
ResultFull restoration of health, family, and wealth
Allah’s Description“Excellent servant, one repeatedly turning back to Allah”

This summary reflects only what is established in authentic Quranic and scholarly sources. 

Details found in some popular retellings that go beyond Quranic and sound scholarly evidence are intentionally omitted here to maintain accuracy.

Prophet Ayyub Family Tree

Classical scholars differ on the precise details of his genealogy. Some accounts in Islamic literature suggest Ayyub was a descendant of the lineage of Ibrahim (AS), Ibn Ishaq stated that Ayyub was a man from the Romans, and his lineage was: Ayyub ibn Maws ibn Razah ibn al-‘Ays ibn Ishaq ibn Ibrahim al-Khalil. However, because the Quran does not specify a detailed family tree for Ayyub.

Others held the lineage as: Ayyub ibn Maws ibn Raghwil ibn al-‘Ays ibn Ishaq ibn Ya’qub. 

Ibn ‘Asakir also transmitted a report that his mother was a daughter of Lut (AS), and some said his father was among those who believed in Ibrahim (AS) on the day he was cast into the fire.

The most well-known and preferred opinion among scholars — as Ibn Kathir establishes in his Tafsir — is that Ayyub was from the descendants of Ibrahim (AS). This is supported by the Quranic verse in which Allah says:

وَمِن ذُرِّيَّتِهِۦ دَاوُۥدَ وَسُلَيْمَٰنَ وَأَيُّوبَ وَيُوسُفَ وَمُوسَىٰ وَهَٰرُونَ

“Wa min dhurriyyatihi Dawuda wa Sulaimana wa Ayyuba wa Yusufa wa Musa wa Harun”

“And among his descendants were Dawud and Sulayman and Ayyub and Yusuf and Musa and Harun.” (Al-An’am 6:84)

Ibn Kathir confirms that the pronoun in this verse refers to Ibrahim, not Nuh — making Ayyub conclusively of Abrahamic lineage. Ayyub is also explicitly named among the prophets who received revelation in Surah An-Nisa 4:163, alongside Nuh, Ibrahim, Isma’il, Ishaq, Ya’qub, and ‘Isa (AS).

Genealogical OpinionSource
Ayyub ibn Maws ibn Razah ibn al-‘Ays ibn Ishaq ibn IbrahimIbn Ishaq (preferred opinion)
Ayyub ibn Maws ibn Raghwil ibn al-‘Ays ibn Ishaq ibn Ya’qubAlternative scholarly opinion
His mother was a daughter of Lut (AS)Transmitted by Ibn ‘Asakir
His father believed in Ibrahim on the day of the fireMinority scholarly opinion
Confirmed descendant of Ibrahim (AS)Al-An’am 6:84 — Ibn Kathir’s established conclusion

The scholarly differences in Ayyub’s precise genealogy do not affect the authenticated core: he was a prophet of Allah, a descendant of Ibrahim al-Khalil, and honoured by Allah alongside the greatest messengers in the Quran.

Learn Islamic studies Mobile Learn Islamic Studies online Desktop

Where Was Prophet Ayyub Born? 

The Quran does not specify where Prophet Ayyub was born or where he lived. This is a common question — particularly among students engaging with Islamic topics for youth — and it deserves an honest answer rather than a fabricated one.

Classical scholars of geography and Tafsir have offered various opinions, with some suggesting regions in present-day Syria, Jordan, or the Arabian Peninsula

Ibn Kathir mentions opinions locating Ayyub’s residence in the Hauran region of present-day Syria, though he presents this as a scholarly opinion rather than established fact.

The sound approach is to acknowledge that the precise birthplace and location of Prophet Ayyub’s ministry are not definitively established in the Quran or mutawatir hadith. 

What matters — and what the Quran emphasizes — is not where he was born, but how he lived and how he responded to his Lord.

Prophet Ayyub Story for Kids: How to Share This Narrative with Young Learners

The story of Prophet Ayyub is genuinely suitable for children, and its core lessons translate beautifully into language children can understand and internalize. 

The key is presenting it truthfully without adding embellishments, while framing the message around concepts children can connect with emotionally.

For younger learners, the story can be introduced through three simple stages: 

1. Ayyub had many blessings and was very thankful to Allah. 

2. Then Allah tested him with sickness and difficulty, and Ayyub stayed patient and kept making du’a. 

3. Then Allah healed him and gave back everything he had lost, and even more.

The du’a of Ayyub — even in translation — is something children aged seven and above can memorize and understand. 

At Riwaq Al Quran, our Online Quran Classes for Kids introduce Quranic stories like Ayyub’s as living lessons connected to the verses children are learning to recite. 

When a child reads the ayah of Ayyub’s du’a with proper Tajweed, the words carry their own weight. If you’d like your child to learn the Quran this way, start with two free trial classes today.

Enroll Your Kid in Riwaq’s Quran Classes for Kids with a FREE trial

image 101

The core message for children: being patient when things are hard is one of the most beloved qualities to Allah — and Allah never forgets those who are patient.

Why Students Love Learning with Riwaq Al Quran

Hear directly from our students about how Riwaq Al Quran Academy has transformed their connection with the Book of Allah. Their experiences reflect the dedication, care, and quality that guide every step of our teaching.

Lessons from the Story of Prophet Ayyub That Apply Directly to Our Lives

The Quran does not tell stories for historical record alone — every prophetic narrative is a living source of guidance. The story of Ayyub (AS) carries several lessons that are directly relevant to anyone navigating hardship today.

LessonQuranic Basis
Trials do not indicate divine rejectionAllah called Ayyub “excellent servant” after the trial (Sad 38:44)
Du’a should name Allah’s attributes, not demand outcomesAyyub said “You are the Most Merciful” — not “give me what I want”
Sabr is active, not passiveAyyub continued to turn to Allah throughout — he was awwab, ever-returning
Restoration comes in Allah’s timing, not oursThe response came after years — and was complete (Al-Anbiya 21:84)

For students who want to deepen their relationship with the Quran beyond recitation — understanding its stories, its vocabulary, and its wisdom — our Online Quran Tafseer Course provides structured, Azhari-guided instruction that brings these stories alive in their full linguistic and scholarly depth.

Enroll Now in Riwaq’s Tafseer Course with a FREE trial

image 102

Begin Your Connection with the Quran at Riwaq Al Quran

The story of Ayyub is preserved in the Quran — and connecting with that Quran deeply, with proper recitation and understanding, is an act of worship available to every Muslim. At Riwaq Al Quran, Azhari-certified instructors have been guiding non-Arabic speaking students since 2017 — one-on-one, at your pace, with the depth these stories deserve.

What we offer:

Register for your free trial today — and let the words of Allah become the anchor of your life.

We offer courses in Online Quran & Tajweed Classes, Arabic Language, and Islamic Studies.

Enroll now for 2 Free Trial Classes

image 99

Conclusion

Prophet Ayyub’s story is not a relic of ancient history — it is a living Quranic argument for patient trust in Allah. He was blessed, then stripped of blessing, and his response was not rage or despair but a quiet, persistent turning back to his Lord. Allah honoured that posture with complete restoration and an eternal description: ni’ma al-‘abd — an excellent servant.

What the Quran preserves of Ayyub is deliberately focused: not on the details of his suffering, but on the quality of his character within it. That is the lesson every reader is meant to carry forward.

Learn Islamic studies Mobile Learn Islamic Studies online Desktop

Frequently Asked Questions About the Story of Prophet Ayyub in the Quran

How many times is Prophet Ayyub mentioned in the Quran?

Prophet Ayyub is mentioned by name in four Surahs of the Quran: Al-Anbiya (21:83–84), Sad (38:41–44), An-Nisa (4:163), and Al-An’am (6:84). His story is narrated most fully in Al-Anbiya and Sad, where his supplication, his trial, and Allah’s restoration are described in direct Quranic language.

What was the exact illness of Prophet Ayyub according to the Quran?

The Quran uses the word al-durr — adversity or harm — to describe what afflicted Ayyub, without specifying its medical nature. Classical scholars of Tafsir mention a severe bodily affliction, but they differ on details. Adding specifics beyond what the Quran and sound scholarly sources confirm constitutes fabrication, which Islamic scholarship treats as impermissible.

What is the du’a of Prophet Ayyub and when should we recite it?

The du’a of Ayyub is: “Annī massaniya al-durru wa anta arḥamu al-rāḥimīn” — “Indeed, adversity has touched me, and You are the Most Merciful of the merciful” (Al-Anbiya 21:83). It is recommended during times of illness, hardship, or personal difficulty. Scholars consider it one of the most powerful du’as in the Quran due to its structure of humble acknowledgment combined with trust in Allah’s mercy.

Is the story of Prophet Ayyub appropriate for children to learn?

Yes — the core narrative of Ayyub is entirely suitable for children. It teaches patience during difficulty, the power of du’a, and Allah’s promise to those who remain faithful. Present it in three stages: his blessings and gratitude, his trial and patience, and his full restoration. Avoid adding unverified details and anchor the lesson in the actual Quranic verses for authenticity and spiritual benefit.

Riwaq Al Quran

Riwaq Al Quran is a prominent online academy that provides comprehensive courses in Quran, Arabic, and Islamic studies. We utilize modern technology and employ certified teachers to offer high-quality education at affordable rates for individuals of all ages and levels.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

Scroll to Top