Surah Al-Ahzab 33:54
إِن تُبْدُوا۟ شَيْـًٔا أَوْ تُخْفُوهُ فَإِنَّ ٱللَّهَ كَانَ بِكُلِّ شَىْءٍ عَلِيمًا
Whether you reveal a thing or conceal it, indeed Allāh is ever, of all things, Knowing.
Translation: Saheeh International
Tafsir
Whether you disclose anything or keep it hidden regarding marrying them after him truly God has knowledge of all things and will requite you for it.
Excerpt from Tafsir al-Jalalayn, commentary on 33:54, via Quran.com. The reader has the full commentary and 9 more tafsirs.