Skip to content
Miraj Stories

The Wondrous Web

Story Ages 4-6 3 min

A tiny spider longs to help, until the Prophet ﷺ and Abu Bakr shelter in his cave, in a rhyming picture book about the Hijrah for children aged 4 to 6.

Read It in the Miraj App

Start with a 7-day free trial.

The Wondrous Web - story cover

What is The Wondrous Web about?

The Wondrous Web is an Islamic picture book for children aged 4 to 6 that tells the story of the Prophet Muhammad ﷺ sheltering in a cave on the Hijrah, from the point of view of a little spider.

The spider lives in a rocky den with his huge family of a hundred and ten. He is the smallest, often trampled on and ignored, but he has the biggest heart of all. He dreams of travelling to help people in need and of pleasing Allah with his good deeds. When his family floats away across the Arabian sky, he is too small to follow. So he stays behind and trusts Allah, and every day he prays: "O Allah, let me be of help someday."

Then two men rush into his cave, fleeing a great danger: the Prophet ﷺ and his friend Abu Bakr. The little spider spins his very best web, as fast as he can, across the mouth of the den. When the men hunting the Prophet ﷺ reach the cave, they see the glistening, unbroken web and decide that no one can be inside. They turn away, and the little spider's dream comes true.

Told in simple, rhythmic rhyme, the story shows children that no one is too small to do something great for Allah, and that Allah answers the dua of those who are patient and sincere. It is a gentle first introduction to the Hijrah, the Prophet's ﷺ journey from Makkah to Madinah.

It is written by Razana Noor and illustrated by Rahima Begum.

What your child will learn

  • No one is too small to do something great for Allah.
  • Allah answers the sincere dua of those who are patient.
  • Allah protected the Prophet ﷺ and Abu Bakr in the cave on the Hijrah.
  • Trusting Allah helps us when our dreams seem out of reach.

The story of The Wondrous Web

There was once a little spider who lived in a rocky den with his huge family of a hundred and ten. He was the smallest in the nest, so he was often trampled on and ignored by the rest. But even though he was extremely small, he had the biggest heart of them all.

He longed to travel to different lands and give the needy a helping hand. He wanted to do something important, and to please Allah with his good deeds.

Then a day came when his family waved goodbye and floated away into the Arabian sky, off to exciting new lands. The little spider was too small to follow. He waved farewell, shedding a tear or two, and wondered whether his dreams would ever come true. But he trusted Allah, and every day he prayed: "O Allah, let me be of help to You someday."

Then suddenly, one day, two men rushed into his cave, fleeing from a most serious and grave danger. "Subhan'Allah!" cried the spider. "I must be blessed." The great Prophet Muhammad ﷺ and his friend were his guests.

Before he could wonder why they were there, Allah called out and answered his prayer. He ordered the little spider to do a big deed: to spin his best web at super jet speed. So the little spider spun a web as fast as he could, and when it was done, it stood majestic. It draped across the mouth of the den, making it look as though no one had gone in.

Just then he heard loud footsteps and the cries of evil men with dark hearts and eyes. They wanted to hurt the Prophet ﷺ for believing in Allah and spreading the Qur'an. At the mouth of the cave the men stood still, searching for the Prophet ﷺ and ready to kill.

Suddenly they saw the web, glistening in the light, draped across the doorway without a tear in sight. One man clenched his fist. "There's no way the Prophet ﷺ is hiding in this cave," he said. The little spider cheered and jumped up with glee as he watched the bad men turn around and flee.

So the little spider's big dream finally came true: he had helped to save the Prophet Muhammad ﷺ and his friend Abu Bakr. And for all his patience, hard work and prayer, his story is remembered by Muslims everywhere.

Find more about Prophet Muhammad ﷺ and more stories about trust in Allah, courage and making dua.

Where this story comes from

  • Surah At-Tawbah 9:40: When the two were in the cave, the Prophet ﷺ told his companion not to grieve, for Allah was with them, and Allah sent down His calm upon him.

Talk about it afterwards

  • Why was the little spider left behind when his family flew away?
  • What did the spider pray for every day?
  • How did the spider's web help the Prophet ﷺ and Abu Bakr?
  • What good deed could you do, even though you are small?

Words to know

Hijrah
The Prophet's ﷺ journey from Makkah to Madinah.
Subhan'Allah
Glory be to Allah.

Frequently asked questions

What age is The Wondrous Web suitable for?

Children aged 4 to 6. It is short, told in rhyme, and seen through the eyes of a little spider.

Is The Wondrous Web based on the Qur'an?

The Prophet ﷺ and Abu Bakr hiding in the cave on the Hijrah is told in the Qur'an, in Surah At-Tawbah. The spider's web comes from a later narration that many scholars grade weak, told here as a children's story.

How long is The Wondrous Web?

About 3 minutes to read aloud.

Try Miraj free for 7 days

Every story, game, audiobook and video in the library, for Muslim children aged 4–9. Ad-free, scholar-reviewed, offline downloads, and a no-music mode.