Surah Yusuf, Ayah 34
Quran 12:34 · Joseph · Makki · Para 12 · Page 239
فَاسْتَجَابَ لَهٗ رَبُّهٗ فَصَرَفَ عَنْهُ كَیْدَهُنَّ ؕ اِنَّهٗ هُوَ السَّمِیْعُ الْعَلِیْمُ ۟
Transliteration
Fastajaba lahu rabbuhu fasarafaAAanhu kaydahunna innahu huwa assameeAAu alAAaleem
Saheeh International
So his Lord responded to him and averted from him their plan. Indeed, He is the Hearing, the Knowing.
Al-Mukhtasar fi Tafsir
Allah answered his prayer and removed the scheme of the minister’s wife and that of the women of the city from him. He, may He be glorified, heard the prayer of Joseph – He hears the prayer of any person who prays to Him. He knew the condition of Joseph and He knows the condition of everyone besides him.
Tafsir Ibn Kathir (abridged)
Explains 12:30–12:34 together — read it on 12:30