Sure Al-Mumtahana

60:11

وَإِن فَاتَكُمْ شَىْءٌۭ مِّنْ أَزْوَٰجِكُمْ إِلَى ٱلْكُفَّارِ فَعَاقَبْتُمْ فَـَٔاتُوا۟ ٱلَّذِينَ ذَهَبَتْ أَزْوَٰجُهُم مِّثْلَ مَآ أَنفَقُوا۟ ۚ وَٱتَّقُوا۟ ٱللَّهَ ٱلَّذِىٓ أَنتُم بِهِۦ مُؤْمِنُونَ

Und wenn euch etwas von euren Gattinnen bei den Ungläubigen verlorengeht und ihr dann (in) eine(r) Strafmaßnahme (Beute) macht, dann gebt denjenigen, deren Gattinnen fortgegangen sind, soviel, wie sie (zuvor für sie) ausgegeben haben. Und fürchtet Allah, an Den ihr glaubt.

Tafsir 60:11

If it happens that some of your women leave you for the disbelievers as renegades and you demand your dowry from the disbelievers but they do not give it to you, and thereafter you acquire booty from the disbelievers, then give those husbands whose wives left as renegades the equivalent of the dowry they paid. Be mindful of Allah, in Whom you have faith, by fulfilling His instructions and avoiding His prohibitions.