And if you divorce them before you have touched them and you have already specified for them an obligation, then [give] half of what you specified - unless they forego the right or the one in whose hand is the marriage contract foregoes it. And to forego it is nearer to righteousness. And do not forget graciousness between you. Indeed Allāh, of whatever you do, is Seeing.
If you divorce your wives with whom you have entered into marriage before having sexual intercourse with them and you had fixed the amount of the dowry, you will have to pay half of this amount to them, unless they give up this right of theirs or the husband wishes to pay the full dowry. To give up your right is closer to Mindfulness. Do not forget to show kindness and compassion to one another in matters of rights. Allah sees what you do, so try to do what is best to earn His reward.