divorce may be pronounced twice then either the wife be kept honourably or parted with gracefully. and it is not lawful for you to take back anything out of what you have given them. there is however an exception to this if you fear that they might not be able to keep within the limits imposed by allah there is no harm if both agree mutually that the wife should obtain divorce by giving something as compensation to the husband. these are the bounds set by allah therefore do not violate them for those who violate the bounds of aiiah are the tansgressors.
الطلاق مرتان فإمساك بمعروف أو تسريح بإحسان ولا يحل لكم أن تأخذوا مما آتيتموهن شيئا إلا أن يخافا ألا يقيما حدود الله فإن خفتم ألا يقيما حدود الله فلا جناح عليهما فيما افتدت به تلك حدود الله فلا تعتدوها ومن يتعد حدود الله فأولئك هم الظالمون