Interestingly, the common understanding of this is somewhat false. It's not that easy to simply divorce anyone in Islam. There needs to be arbitration by both families beforehand, and a three month waiting period.
>Upon talaq, the wife is entitled to the full payment of mahr if it had not already been paid. The husband is obligated to financially support her until the end of the waiting period or the delivery of her child, if she is pregnant. In addition, she has a right to child support and any past due maintenance, which Islamic law requires to be paid regularly in the course of marriage
Reality is, as often, more complex. I highly recommend the feature length fly on the wall style documentary 'divorce iranian style'. Entirely recorded in an Iranian divorce court:
Only after that, should a divorce occur.