← Back to Lessons
Stories of the Prophets Before Muhammad ﷺ · Part 2 of 4

Yusuf in Egypt

Years passed. The boy from the well grew up, faced a hard test, and chose Allah. Part 2 of 4.

Prophet Yusuf as a young man in ancient Egypt, with a thoughtful expression, illustrating the Quranic story of Surah Yusuf Part 2 from the Quran
Listen
0:00

Years passed. The boy from the well had grown into a young man.

Yusuf lived in the house of a powerful Egyptian named al-Aziz. al-Aziz was kind to Yusuf. He gave him a place to stay, food to eat, and treated him almost like a son. Yusuf worked hard, listened well, and was always honest. Allah had given him wisdom that grew with every passing year.

But one day, something happened that changed everything.

The wife of al-Aziz wanted Yusuf to do something that Allah did not allow. She asked him quietly, then loudly, then with anger. But Yusuf would not listen to her. He shook his head and said, "I seek protection in Allah. al-Aziz has been kind to me. I will not do what is wrong."

Yusuf turned and ran from her, all the way to the door. She was angry that he had refused her. So when al-Aziz came home, she made up a story. She accused Yusuf of doing something he did not do.

Yusuf told the truth. He had done nothing wrong. But the woman's word was believed over his. And so Yusuf was sent to prison.

Yusuf did not cry, and he did not get angry. He had made his choice already. He whispered to himself, "Prison is better than doing what Allah forbids."

In prison, Yusuf met two other prisoners. They had both had strange dreams the night before. The first man dreamed that he was pressing grapes to make a drink. The second man dreamed that he was carrying bread on his head, and birds were swooping down and eating from it. They did not know what their dreams meant. They asked Yusuf if he could help.

Before answering their dreams, Yusuf told them about Allah, the One God his family had always worshipped. Then he told them what their dreams meant. He told the first man that he would be set free and would serve the king again. He told the second man that his dream had a darker meaning. The man would not be coming back.

Yusuf asked the first man, "When you are free, please remember to tell the king about me."

Everything happened just as Yusuf had said. The first man was set free. But once he was outside, he forgot all about Yusuf.

And so the days became weeks, the weeks became months, and the months became years. Yusuf stayed in prison, patient, trusting, and quietly waiting. He did not know it yet, but Allah's plan was still unfolding.

What this part teaches us

Yusuf was treated unfairly. He went to prison even though he had done nothing wrong. But he never stopped trusting Allah, and he never stopped being kind. Sometimes the right choice is hard. But Allah sees everything we do, even when nobody else does. Read more stories.

From the Quran: Surah Yusuf (chapter 12). Part 2 covers verses 21 to 42, which tell of Yusuf growing up in Egypt, the test in al-Aziz's house, and his years in prison interpreting dreams.

More to explore

When you're ready, continue to Part 3 of Yusuf's story. Or explore other beautiful stories of the prophets who came before Muhammad ﷺ.

Read more lessons

For Parents

Common questions about Yusuf in Egypt and how to share this story with your child.

Who was al-Aziz in the story of Yusuf?

al-Aziz (sometimes called "the chief" or "the mighty one") was the powerful Egyptian who bought Yusuf when the travelers brought him to Egypt. The Quran refers to him by his title rather than by a personal name. He was kind to Yusuf and treated him almost like a son, but his household became the setting for the test that sent Yusuf to prison.

The biblical tradition calls this figure Potiphar, but the Quran uses the title al-Aziz (الْعَزِيز, "the chief"). Some later Islamic traditions give him the personal name Qitfir, but his title is what appears in the Quranic text. He is mentioned in Surah Yusuf verse 30.

Why was Yusuf sent to prison if he did nothing wrong?

Yusuf was sent to prison because al-Aziz's wife made a false accusation against him after he refused to do what she wanted. The Quran tells us that even when the truth came out, Yusuf was still sent to prison. Verse 35 says: "Then it occurred to them, after they had seen the signs, to imprison him for a time."

Why? Because al-Aziz and his household wanted to protect their reputation. They knew Yusuf was innocent, but it was easier for them politically to put him away than to admit what really happened. This is one of the most painful moments in the story, and it teaches kids that the world is sometimes unfair, but Allah always knows the truth.

What did the two prisoners in Yusuf's story dream about?

The Quran describes both dreams in Surah Yusuf verse 36. The first prisoner dreamed he was pressing grapes to make wine. The second prisoner dreamed he was carrying bread on his head, and birds were eating from it. Both dreams puzzled them.

Yusuf interpreted the first dream as a sign that the man would be restored to his role serving the king. The second dream was a darker sign that the man's life would soon end. Both interpretations came true exactly as Yusuf said. This was one of the first signs to the people of Egypt that Yusuf had been given a special gift from Allah, the ability to interpret dreams.

Is the story of Yusuf in Egypt authentic from the Quran?

Yes. This portion of Yusuf's story comes directly from the Quran, specifically from Surah Yusuf (chapter 12), verses 21 to 42. The Quran is the only authentic source for these events. While other religious traditions tell similar stories about Joseph in Egypt, the Quranic version has its own distinct details, themes, and meaning.

Classical Islamic commentators including Ibn Kathir and al-Tabari have written extensively on these verses. Our retelling draws on the mainstream understanding of the text, simplified for young readers. The major beats (Yusuf's growth in al-Aziz's household, the test, the false accusation, the prison years, the dream interpretations, the forgotten request) are all directly from the Quranic verses.

How do you talk to kids about the false accusation in this story?

This is the most delicate part of the trilogy, and we have framed it carefully. The Quran does tell us that al-Aziz's wife wanted Yusuf to do something Allah did not allow. We frame this in our retelling as "she wanted Yusuf to do something that Allah did not allow" without going into the specific nature of the request. Younger children absorb the moral (Yusuf chose what was right) without needing the specifics. Older children who ask follow-up questions can be told more as their understanding grows.

The core lesson to share with your child is this: sometimes people we know will ask us to do things that are wrong. Even if it costs us something, doing what Allah wants is more important than making someone happy. Yusuf chose prison over doing what was wrong. That kind of integrity is something we want our children to recognize and admire.

How can I use this story with my child?

This part of the story is wonderful for kids who have experienced being blamed for something they did not do, or who have faced peer pressure to do something they knew was wrong. Yusuf models how a young person can stay true to themselves and to Allah, even when the cost is high.

After reading, you can ask your child: "Have you ever been blamed for something you did not do? How did that feel?" Or: "Has anyone ever asked you to do something you knew was wrong? What did you do?" These questions connect the story to your child's own life and build the emotional vocabulary they need to face similar moments themselves.