Yusuf - 12:34

فَاسْتَجَابَ لَهُ رَبُّهُ فَصَرَفَ عَنْهُ كَيْدَهُنَّ إِنَّهُ هُوَ السَّمِيعُ الْعَلِيمُ
[12:34]
Thereupon his Lord accepted his prayer and turned away their guile from him; surely He is the Hearing, the Knowing.
So his Lord hearkened to him (in his prayer), and turned away from him their snare: Verily He heareth and knoweth (all things).
So his Lord heard his prayer and fended off their wiles from him. Lo! He is Hearer, Knower.