Wife's Earnings

I thought they would have to give back money (mehr) for dissolving the marriage? Or am I mixing up something here? Otherwise I agree with what you’ve said.