← Back to postsThe Story of Yusuf a.s (joseph) in the Qur’an

The Story of Yusuf a.s (joseph) in the Qur’an

Published: 4/8/2026

Surah Yusuf is a single surah that tells the life of Prophet Yusuf عليه السلام from his childhood dream to his rise in Egypt and reunion with his family. Allah Himself calls it “the best of stories” because it is full of patience, tawakkul, and forgiveness.

نَحْنُ نَقُصُّ عَلَيْكَ أَحْسَنَ الْقَصَصِ بِمَآ أَوْحَيْنَآ إِلَيْكَ هَٰذَا الْقُرْآنَ

“We relate to you the best of stories through what We have revealed to you of this Qur’an.” (Yusuf 12:3)

The dream and the jealousy of his brothers

As a young boy, Yusuf عليه السلام saw a dream of eleven stars, the sun and the moon prostrating to him, and he shared it with his father Yaʿqub عليه السلام. His father understood that Allah had chosen him, and gently warned him not to tell his brothers, who already had jealousy in their hearts.

The brothers plotted to get rid of Yusuf عليه السلام, threw him into a deep well, and then lied to their father with fake tears and a shirt stained with false blood. Yet even in that darkness, Allah was planning to raise Yusuf عليه السلام and bring this family back together later.

إِذْ قَالَ يُوسُفُ لِأَبِيهِ يَآ أَبَتِ إِنِّي رَأَيْتُ أَحَدَ عَشَرَ كَوْكَبًا وَالشَّمْسَ وَالْقَمَرَ رَأَيْتُهُمْ لِي سَاجِدِينَ

“When Yusuf said to his father, ‘O my dear father, indeed I have seen [in a dream] eleven stars, and the sun and the moon; I saw them prostrating to me.’” (Yusuf 12:4)

From the well to slavery in Egypt

A passing caravan stopped at the well, found Yusuf عليه السلام inside, and took him out as merchandise. They sold him cheaply in Egypt, and he ended up in the house of a nobleman, far away from his home and father.


From the outside, it looked like Yusuf عليه السلام had lost everything, but Allah was quietly establishing him in a new land and setting up the next chapter of his life. Even as a slave, he carried himself with dignity, faith, and good character.

وَشَرَوْهُ بِثَمَنٍۢ بَخْسٍ دَرَاهِمَ مَعْدُودَةٍ وَكَانُوا فِيهِ مِنَ الزَّاهِدِينَ

“And they sold him for a reduced price, a few dirhams, and they were, concerning him, of those content with little.” (Yusuf 12:20)

The test of temptation and his time in prison

As Yusuf عليه السلام grew into a handsome and righteous young man, the wife of his master tried to seduce him and closed the doors. Yusuf عليه السلام said he would rather be imprisoned than fall into disobedience of Allah, and Allah protected him from her plot.

Despite his innocence being known to some, he was still sent to prison, which became another stage of his daʿwah and purification. In prison he remained patient, kind, and used his gift of dream interpretation to call people to tawḥīd.

قَالَ رَبِّ السِّجْنُ أَحَبُّ إِلَيَّ مِمَّا يَدْعُونَنِيٓ إِلَيْهِ

“He said, ‘My Lord, prison is more beloved to me than that to which they invite me.’” (Yusuf 12:33)

The dreams of the king and Yusuf’s rise to power

In prison, Yusuf عليه السلام interpreted the dreams of two fellow inmates, and years later one of them mentioned him when the king of Egypt saw a troubling dream. Yusuf عليه السلام explained the dream as seven years of plenty followed by seven years of severe famine, and suggested a wise economic plan to save the people.

Before accepting any position, Yusuf عليه السلام insisted that his innocence be publicly cleared, and the women confessed the truth about their plot. The king then placed him in charge of the storehouses of the land, making him a trustworthy minister.

قَالَ اجْعَلْنِي عَلَىٰ خَزَائِنِ الْأَرْضِ إِنِّي حَفِيظٌ عَلِيمٌ

“He said, ‘Appoint me over the storehouses of the land. Indeed, I am a good guardian and knowledgeable.’” (Yusuf 12:55)

Reunion with his brothers and parents

When the famine struck, the brothers of Yusuf عليه السلام came to Egypt to seek food, not recognising that the powerful minister in front of them was their own brother. Through a wise and gentle plan, Yusuf عليه السلام kept his younger brother with him and slowly brought his brothers to admit their past wrong.

In the end, Yusuf عليه السلام forgave them, saying that no blame would be upon them that day, and he brought his parents and family to Egypt in honour. The dream he saw as a child finally came true when his parents and brothers bowed in respect, and the long story of pain turned into a story of mercy.

قَالَ لَا تَثْرِيبَ عَلَيْكُمُ الْيَوْمَ ۖ يَغْفِرُ اللَّهُ لَكُمْ وَهُوَ أَرْحَمُ الرَّاحِمِينَ

“He said, ‘No blame will there be upon you today. May Allah forgive you and He is the most merciful of the merciful.’” (Yusuf 12:92)

Lessons from the story of Yusuf عليه السلام

The story of Yusuf عليه السلام teaches that Allah’s plan is always working, even when people betray you, doors close, or you are treated unjustly. It shows us how to hold on to modesty under temptation, patience in tests, and forgiveness when you finally have power.

This surah is a reminder that with hardship comes ease, and that a believer’s beauty is in sabr, tawakkul, and husn al dhann in Allah. If you are going through your own “well”, “prison”, or “separation”, keep returning to this surah and let it shape your response to trials.

إِنَّهُۥ مَن يَتَّقِ وَيَصْبِرْ فَإِنَّ ٱللَّهَ لَا يُضِيعُ أَجْرَ ٱلْمُحْسِنِينَ

“Indeed, whoever has taqwa and is patient, then surely Allah does not allow the reward of the doers of good to be lost.” (Yusuf 12:90)

The story of Yusuf عليه السلام comforts every believer who is hurt, alone, or treated unfairly, reminding us that Allah’s plan is always working behind the scenes in ways we cannot yet see.

If you enjoyed this, also checkout: The Story of Musa عليه السلام in the Qur’an.

Jazakallahu Khairan :)