Altafsir.com - The Tafsirs - التفاسير
 

* تفسير Kashani Tafsir

{ وَلَقَدْ هَمَّتْ بِهِ وَهَمَّ بِهَا لَوْلاۤ أَن رَّأَى بُرْهَانَ رَبِّهِ كَذَلِكَ لِنَصْرِفَ عَنْهُ ٱلسُّوۤءَ وَٱلْفَحْشَآءَ إِنَّهُ مِنْ عِبَادِنَا ٱلْمُخْلَصِينَ }

His desiring of her is the inclining of the heart to her [the soul] because of the lack of fixity and uprightness. His seeing of the proof of his Lord is [his] perception of that variegation by the light of insight and the consideration of the intellect, as is related in the story to the effect that his father appeared to him and forbade him, or raised his voice at him - it is also said that he struck the back of his neck with the palm of his hand such that his lust was expelled through his fingernails until it dissipated. All of that is an allusion to the intellect's forbidding him [Joseph the heart] from mixing with the soul by [seeing] the proof [of his Lord] and [perceiving with] the light of insight and guidance, and [an indication of] its effect on him through luminous power and support that necessarily brings about the dissipation of her [the soul's] lust and darkness, permeating her to her extremeties and removing from her the dark configuration by means of a luminous configuration. The tearing of his shirt from behind is an allusion to her piercing of the garment of the luminous attribute, which he possessed as a result of [his] virtuous character traits and righteous deeds, by exercising an effect on the heart by means of its attribute, for this is an attribute which the heart acquires from the aspect that lies adjacent to the soul, the one called the breast, which is without question the rear [aspect].