فَاسْتَجَابَ لَهُ رَبُّهُ
"I will feel inclined towards them and be one of the ignorant."
So his Lord answered his invocation.
Yusuf, peace be upon him, was immune from error by Allah's will, and He saved him from accepting the advances of the wife of the Aziz. He preferred prison, rather than accept her illicit call. This indicates the best and most perfect grade in this case, for Yusuf was youthful, beautiful and full of manhood. His master's wife was calling him to herself, and she was the wife of the Aziz of Egypt. She was also very beautiful and wealthy, as well as having a great social rank. He refused all this and preferred prison, for he feared Allah and hoped to earn His reward.
فَصَرَفَ عَنْهُ كَيْدَهُنَّ إِنَّهُ هُوَ السَّمِيعُ الْعَلِيمُ
and turned away from him their plot. Verily, He is the All-Hearer, the All-Knower.
It is recorded in the Two Sahihs that the Messenger of Allah said,
سَبْعَةٌ يُظِلُّهُمُ اللهُ فِي ظِلِّهِ يَوْمَ لَا ظِلَّ إِلاَّ ظِلُّهُ
إِمَامٌ عَادِلٌ
وَشَابٌّ نَشَأَ فِي عِبَادَةِ اللهِ
وَرَجُلٌ قَلْبُهُ مُعَلَّقٌ بِالْمَسْجِدِ إِذَا خَرَجَ مِنْهُ حَتَّى يَعُودَ إِلَيْهِ
وَرَجُلَنِ تَحَابَّا فِي اللهِ اجْتَمَعَا عَلَيْهِ وَتَفَرَّقَا عَلَيْهِ
وَرَجُلٌ تَصَدَّقَ بِصَدَقَةٍ فَأَخْفَاهَا حَتَّى لَا تَعْلَمَ شِمَالُهُ مَا أَنْفَقَتْ يَمِينُهُ
وَرَجُلٌ دَعَتْهُ امْرَأةٌ ذَاتُ مَنْصِبٍ وَجَمَالٍ فَقَالَ إِنِّي أَخَافُ اللهَ
وَرَجُلٌ ذَكَرَ اللهَ خَالِيًا فَفَاضَتْ عَيْنَاه
Allah will give shade to seven, on the Day when there will be no shade but His;
A just ruler,
a youth who has been brought up in the worship of Allah,
a man whose heart is attached to the Masjid, from the time he goes out of the Masjid until he gets back to it,
two persons who love each other only for Allah's sake and they meet and part in Allah's cause only,
a man who gives charitable gifts so secretly that his left hand does not know what his right hand has given,
a man who refuses the call of a charming woman of noble birth for illicit intercourse with her and says;"I am afraid of Allah, and
a person who remembers Allah in seclusion and his eyes are then flooded with tears."