Surah 12

Surah 12:24

"Certainly she was obsessed with him, and he would have been obsessed with her, if (it had) not (been) that he saw a proof of his Lord. (It happened) in this way in order that We might turn evil and immorality away from him. Surely he was one of Our devoted servants."