Tafsir Jalalayn Yusuf 12:24

The ayahs

  1. وَلَقَدۡ هَمَّتۡ بِهِۦۖ وَهَمَّ بِهَا لَوۡلَآ أَن رَّءَا بُرۡهَٰنَ رَبِّهِۦۚ كَذَٰلِكَ لِنَصۡرِفَ عَنۡهُ ٱلسُّوٓءَ وَٱلۡفَحۡشَآءَۚ إِنَّهُۥ مِنۡ عِبَادِنَا ٱلۡمُخۡلَصِينَ

    Open ayah 12:24

    And she certainly determined [to seduce] him, and he would have inclined to her had he not seen the proof [i.e., sign] of his Lord. And thus [it was] that We should avert from him evil and immorality. Indeed, he was of Our chosen servants.

Tafsir Jalalayn

And she certainly desired him, she sought sexual intercourse with him, and he would have desired her [too], he would have sought the same, had it not been that he saw the proof of his Lord: Ibn `Abbs said, `Jacob was made to appear before him, and he struck his [Joseph's] breast, whereupon his [sexual] desire withdrew [from his body] through his fingernails (the response to lawl, `had it not been', has been omitted: [understood to be] la-jma`ah, `he would have lain with her'). So it was, that We made him see the proof, that We might ward off from him evil, betrayal, and lewdness, [the act of] fornication. Truly he was of Our devoted servants, in terms of obedience (mukhlisn: a variant reading has mukhlasn, in other words, `chosen/purified [servants]').