If you divorce wives before consummating the marriage but after fixing a bride-gift for them, then give them half of what you had previously fixed, unless they waive [their right], or unless the one who holds the marriage tie waives [his right]. Waiving [your right] is nearer to godliness, so do not forget to be generous towards one another: God sees what you do.
And if ye divorce them before consummation, but after the fixation of a dower for them, then the half of the dower (Is due to them), unless they remit it or (the man's half) is remitted by him in whose hands is the marriage tie; and the remission (of the man's half) is the nearest to righteousness. And do not forget Liberality between yourselves. For Allah sees well all that ye do.