Surah Al-Baqara

2:227

وَإِنْ عَزَمُوا۟ ٱلطَّلَٰقَ فَإِنَّ ٱللَّهَ سَمِيعٌ عَلِيمٌۭ

Dan jika mereka berazam hendak menjatuhkan talak (menceraikan isteri), maka sesungguhnya Allah Maha Mendengar, lagi Maha mengetahui.

Tafsir 2:227

If such a man is determined to continue his oath and so passes the four months period, intending by that a divorce, then Allah hears their statements, including the divorce, and He knows their states and intentions and will reward them for that.