Surah Yusuf 12:24

Quran 12:24 from Surah Yusuf on Divine Marvels.

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

English translation: And certainly she did desire him and he would have desired her if not that he saw the proof (of) his Lord Thus that We might avert from him the evil and the immorality Indeed he (was) of Our slaves the sincere

Transliteration: walaqad hammat bihi wahamma biha lawla an raa bur'hana rabbihi kadhalika linasrifa anhu al-sua wal-fahshaa innahu min ibadina al-mukh'lasina