Surah An-Nisa 4:4
وَءَاتُوا۟ ٱلنِّسَآءَ صَدُقَٰتِهِنَّ نِحْلَةًۭ ۚ فَإِن طِبْنَ لَكُمْ عَن شَىْءٍۢ مِّنْهُ نَفْسًۭا فَكُلُوهُ هَنِيٓـًۭٔا مَّرِيٓـًۭٔا
Give women their dowries graciously. But if they willingly forego some of it, then consume it with enjoyment and pleasure
Translation: Talal Itani
From the classical commentaries (paraphrased)
The classical commentators explain nihlah here as an obligation that is handed over willingly, without resentment and without expecting anything in return. The verse establishes that the mahr belongs to the wife herself. If she freely gives up part of it, her husband may accept it with a clear conscience.