Surah Yusuf 12:24
سُورَةُ يُوسُفَ · Meccan · Verse 24 of 111
وَلَقَدْ هَمَّتْ بِهِۦ ۖ وَهَمَّ بِهَا لَوْلَآ أَن رَّءَا بُرْهَـٰنَ رَبِّهِۦ ۚ كَذَٰلِكَ لِنَصْرِفَ عَنْهُ ٱلسُّوٓءَ وَٱلْفَحْشَآءَ ۚ إِنَّهُۥ مِنْ عِبَادِنَا ٱلْمُخْلَصِينَ
Translation
She made for him, and he would have succumbed to her if he had not seen evidence of his Lord- We did this in order to keep evil and indecency away from him, for he was truly one of Our chosen servants.
English translation: M.A.S. Abdel Haleem.
Meaning and reflection
Wording
This verse from Surah Yusuf describes a pivotal moment in the story of Prophet Yusuf (peace be upon him) and the wife of the Egyptian minister. It reveals how Allah protected His chosen servant through the power of His words.
Her Intent and His Inclination
The verse begins by telling us, "And she certainly inclined to him" (وَلَقَدْ هَمَّتْ بِهِۦ). The word "hammat" here, emphasized by the preceding "laqad," indicates a strong, firm intention on her part to commit an indecent act, as explained by Ibn Ashur and al-Razi. She was serious in her pursuit.
Then the verse continues, "and he inclined to her" (وَهَمَّ بِهَا). This part requires careful reflection on the specific wording. Scholars like al-Razi and al-Zamakhshari explain that for a Prophet, this "hamm" was not a sinful resolve or a firm intention to commit an evil act. Instead, it refers to a natural human inclination or desire that arises in such a tempting situation, a "whisper of the self" (hadith al-nafs) as al-Razi describes it. It was a struggle between natural human desire and the call of wisdom and faith. This inclination was not a sin, but rather a test of his strength in devotion to Allah. Ibn Ashur suggests it means he *would have* intended her, had it not been for what followed.
The Divine Proof
What prevented Yusuf from acting on any fleeting inclination was "had he not seen the proof of his Lord" (لَوْلَآ أَن رَّءَا بُرْهَـٰنَ رَبِّهِۦ). The word "lawla" (had it not been for) is crucial here; it tells us that the sinful act did not occur *because* of this divine proof. Al-Razi explains that this "Burhan" (برهان), or proof, was not something seen with the physical eye, but rather a profound spiritual or intellectual insight. It could be Allah's clear arguments against unlawful acts, the inherent purity of a prophet's soul, or a divine reminder of Allah's commands and the consequences of sin, as al-Razi details. Ibn Ashur adds that it could be a theoretical argument, divine revelation, or divine protection. This "Burhan" was the ultimate barrier, preventing him from even a sinful intention, despite the overwhelming temptations.
Averted Evil and Indecency
The verse then explains the purpose of this divine intervention: "Thus, We averted from him evil and indecency" (كَذَٰلِكَ لِنَصْرِفَ عَنْهُ ٱلسُّوٓءَ وَٱلْفَحْشَآءَ). The word "kadhalika" (thus) connects this protection directly to the "Burhan" he saw. The word "nasrif" (نصرف), meaning "We avert," implies that the circumstances were ripe for evil and indecency, but Allah actively protected Yusuf, turning these temptations away from him, as Ibn Ashur notes. "Al-Su'" (السوء - evil) refers to the betrayal of trust towards his master, while "al-Fahsha'" (الفحشاء - indecency) refers to adultery itself, or even the preliminaries leading to it, as al-Razi and al-Zamakhshari explain. This wording emphasizes Allah's comprehensive protection of Yusuf from all aspects of the potential sin.
Among the Sincere
The verse concludes with a powerful testimony to Yusuf's character: "Indeed, he is among Our sincere servants" (إِنَّهُۥ مِنْ عِبَادِنَا ٱلْمُخْلَصِينَ). This word, "al-Mukhlasin" (المخلصين), has two readings, both conveying a profound meaning. With a "kasra" on the letter lam, it means "those who made their devotion sincere for Allah." With a "fatha" on the lam, it means "those whom Allah made sincere and chose." As al-Razi, al-Zamakhshari, and Ibn Ashur point out, both readings affirm Yusuf's elevated status, purity, and his complete devotion to Allah, confirming his innocence and Allah's special favor upon him. This divine declaration serves as a powerful testament to his steadfastness and purity in the face of immense temptation.
Sources: al-Razi (Mafatih al-Ghayb), al-Zamakhshari (al-Kashshaf), al-Jalalayn, Ibn Ashur (al-Tahrir wa al-Tanwir), al-Jadwal fi I'rab al-Quran (Mahmud Safi)
Worldly Mirror
This verse from Surah Yusuf describes a pivotal moment in Prophet Yusuf's life, when the wife of the Aziz (his master) tried to seduce him. Allah tells us that she desired him, and Yusuf too experienced passing thoughts or inclinations towards her, *were it not that* he saw a clear sign or proof from his Lord. Because of this, Allah averted evil and indecency from him, for he was truly among Allah's chosen and purified servants.
The Inner Human Struggle
The verse opens by describing the intense situation: وَلَقَدْ هَمَّتْ بِهِۦ ۖ وَهَمَّ بِهَا (She desired him, and he would have desired her). The plain meaning tells us that the woman inclined herself to commit indecency. Prophet Yusuf, a young man, also experienced fleeting thoughts or inclinations to respond, as is natural for human beings in such a delicate situation. Sayyid Qutb explains that this describes the final, most challenging stage of a long struggle, where Yusuf had to confront the psychological pressure and desires common to youth. Ibn al-Jawzi clarifies that Yusuf's "hamm" (هَمَّ) refers to the heart's passing thoughts or self-talk, not a firm resolve to commit sin. This internal struggle is what makes his resistance so praiseworthy, as Sayyid Qutb notes; true patience and endurance are rewarded when there is an inner inclination to overcome.
The Proof of His Lord
What saved Prophet Yusuf from acting on these passing thoughts was لَوْلَآ أَن رَّءَا بُرْهَـٰنَ رَبِّهِۦ (had he not seen the proof of his Lord). This "proof" (برهان ربه) was Allah's special intervention and guidance. Al-Munir explains that this "hamm" on Yusuf's part was merely natural human inclination, for which there is no accountability. The "proof" itself could be his deep knowledge of Allah's prohibitions, the purity of his prophetic soul, or the very state of prophethood that prevents major sins. Tazkirul Quran highlights that Yusuf's "Rabbani nature", his innate ability to distinguish right from wrong, came to his aid, reminding him of his fear of Allah and his loyalty to his master who had honored him. This shows how our inner moral compass, when nurtured, becomes a powerful shield against temptation.
Divine Protection and Purity
The verse concludes by stating: كَذٰلِكَ لِنَصْرِفَ عَنْهُ السُّوْۗءَ وَالْفَحْشَاۗءَ ۚ إِنَّهُۥ مِنْ عِبَادِنَا الْمُخْلَصِينَ (Thus We averted evil and indecency from him, for he was truly among Our chosen servants). Allah protected Yusuf from both "al-su'" (السوء), meaning evil, sin, and betrayal, and "al-fahsha'" (الفحشاء), meaning adultery and immorality. Israr Ahmad explains that "al-mukhlasin" (المخلصين), with a specific pronunciation, refers to those whom Allah has purified and chosen for Himself, His special and beloved servants. This signifies Allah's special care for His chosen ones, preserving their chastity and purity.
A Mirror for Our Lives
This verse serves as a powerful mirror for our own lives. It reminds us that even the most righteous individuals can experience internal struggles and passing temptations. However, it is our response to these moments, our reliance on Allah's guidance and our commitment to purity, that defines us. Ibn al-Jawzi reminds us that Allah mentions the struggles of Prophets not to shame them, but so that we do not despair of His mercy when we face our own internal battles. The verse invites us to strive for sincerity in our devotion, knowing that Allah protects those who sincerely turn to Him and seek to be among His purified servants.
Sources: Israr Ahmad (Bayan ul Quran), Sayyid Qutb (Fi Zilal al-Quran), Ibn al-Jawzi (Zad al-Masir), Tazkirul Quran, al-Munir (Wahba al-Zuhayli)
Wisdom
This verse from Surah Yusuf opens a window into a profound moment in the life of Prophet Yusuf (peace be upon him), offering timeless lessons about resisting temptation and the nature of divine protection. It tells us about the intense situation with Zulaikha, the wife of the master of the house, who strongly desired Yusuf.
The Nature of Desire
The verse says, "And she certainly desired him, and he would have desired her had he not seen the proof of his Lord." The Arabic word for 'desired' here is *hamm* (هَمَّ). Scholars explain that there's a significant difference between Zulaikha's *hamm* and Yusuf's. Zulaikha's *hamm* was a firm intention to commit a sinful act, as she had already taken steps like locking doors. However, Yusuf's *hamm* was not a firm intention to sin. As Ma'arif al-Quran explains, *hamm* can mean a simple, non-voluntary thought or a fleeting scruple that crosses the heart, which is beyond one's control and not counted as a sin. It's like a person fasting on a hot day having a natural thought of cool water, without any intention to drink.
This teaches us a general lesson: Allah distinguishes between a passing thought and a firm intention to act on something wrong. A Hadith mentioned by Ma'arif al-Quran tells us that Allah has forgiven such non-voluntary thoughts for believers, as long as they are not put into practice. In fact, if a servant intends to do a sin but leaves it off out of fear of Allah, Allah records it as a good deed. This shows us Allah's immense mercy and understanding of our human nature.
Divine Protection and Guidance
The verse continues, "had he not seen the proof of his Lord." This "proof" (*burhan*) was a divine sign or guidance that strengthened Yusuf's resolve and turned away any fleeting inclination. Commentaries suggest various possibilities for what this proof was: it could have been his deep knowledge of what Allah has forbidden, a vision, or simply the powerful faith and prophetic station within him. Whatever its form, it was a clear reminder from Allah that helped him resist.
Allah then states, "Thus, We averted from him evil and indecency." Ma'arif al-Quran clarifies that "evil" (*as-su'*) refers to minor sins, and "indecency" (*al-fahsha'*) refers to major sins. This shows that Allah protected Yusuf from both. This is a powerful general lesson: Allah provides His sincere servants with inner strength and external signs to help them avoid wrongdoing.
The Power of Sincerity
The verse concludes, "Indeed, he was one of Our chosen servants." The Arabic word *al-mukhlasin* (الْمُخْلَصِينَ) can be understood in two ways, both applicable to Yusuf. It can mean those whom Allah has chosen and selected for His special purpose, like prophethood. It can also mean those who are absolutely sincere (*mukhlisin*) in their worship and obedience to Allah, with no worldly desires or personal interests mixed in.
This offers a profound general lesson for us: when we strive to be truly sincere in our devotion and worship of Allah, He grants us a special shield of protection from sins. Our sincerity becomes a means for Allah to avert evil and indecency from our path, just as He did for Prophet Yusuf. It encourages us to cultivate genuine devotion, knowing that it is a key to divine safeguarding in the face of life's temptations.
Sources: al-Qurtubi (al-Jami li-Ahkam), al-Saadi (Taysir al-Karim), Ibn al-Jawzi (Zad al-Masir), Ma'arif al-Quran (Mufti Shafi), al-Munir (Wahba al-Zuhayli)
Topics that discuss this verse
Surah Yusuf 12:24 is discussed in 12 study guides on Maani. Each guide gathers the key verses, Arabic words and lessons of one Quranic topic.
Reflect on this verse
Open Surah Yusuf 12:24 in Maani to reflect on it through the Five Lenses: its wording, its context, what it means for you, its connections across the Quran and its lessons, grounded in classical tafsir.