Joseph (peace be
upon him) was repugnant naturally from the sins. He was under influence of
education and training by His father Jacob (peace be upon them) that He used to
engage always in good works and remembrance of Allah Almighty. Even then, there
was a fear that if He (peace be upon him) lived in the same environment, then
it would not be possible for Him to be saved from conspiracies and contrivances
of those women; save the support of Allah Almighty.

It has been
commanded in this verse: We (Allah Almighty) heard the prayer of Joseph (peace
be upon him) because We hear the prayer of every individual and know. There is
a lesson for us in it that there are two forms of escaping from the sins:

1.Running away from such environment in which there is a chance of
exciting evil desires.

2.During loneliness, one should try to stop thinking about such forms
which incline unto committing any evil.

These both forms
demand that we should avoid bad company and attend the groups of such godly
people who think good. But for being saved from the evildoers, one should
neither pray in such words, which may be cause of restlessness for him, and nor
he should do any such work for running out of issue, due to which any
misfortune falls upon oneself. Moreover, one should ask Allah Almighty of
safety always.

Being utterly sick
of alluring by the women, Joseph (peace be upon him) prayed: O my Lord! Prison is
more dear than that unto which they urge me, and if Thou fend not off their
wiles from me, I shall incline unto them and become of the ignorant. Allah
Almighty saved him (peace be upon him)
from their bad company, but because demand of prison had been appeared from His
tongue, therefore, Allah Almighty produced the same circumstances for being
saved from the wicked people.

It is commanded: After
meditating in the circumstances, at last; the people decided that Joseph (peace
be upon him) should be sent into the prison for some period and they considered
it good and proper for the time being that He (peace be upon him) should
disappear from the sight of the ruler’s wife.

Transliterated Holy Qur’an in Roman Script & Translated from
Arabic to English by Marmaduke Pickthall,
Published by PaakCompany, 17-Urdu Bazaar, Lahore, Lesson collected from Dars e Qur’aan published By Idara Islaah wa Tableegh, Lahore (translated Urdu to
English by Muhammad Sharif). https://youtu.be/5LJU23gpvFg