All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
If you agreed to divorce your wife when she asked you to do so and you divorced her without any condition of compensation, then she is entitled for all her rights, like the full dowry, whether the one paid at the marriage contract or agreed to be paid later. As regards gold, if you gave it to her as a gift, or the custom is that it is considered as a part of the dowry, then you have no right to take it back. But if you lent it to her or set a condition that she can use it as long as she remains your wife, then you can take it back. As regards the money that you had spent for her medical treatment or studies, in principle it is a donation and you have no right to take it back as long as you did not give it to her as a loan in which case you can take it back. With regard to the remaining of the university fees, you are not obliged to pay them, unless you had promised the university to pay them, then you have to fulfill the agreement as Allaah says (interpretation of meaning): {O you who believe! Fulfill (your) obligations…}[5:1]. The Prophet said: "The Muslims are bound by their conditions." [Abu Daawood] But it is permissible for you to ask your wife for a refund.
Finally, we draw your attention to the following matters:
Firstly, you should be careful about anything that could hinder marital life, and be keen on solving the problems that could occur with wisdom, and avoid divorce as much as possible.
Secondly, it is not permissible for a woman to ask for a divorce without a valid reason. The Prophet said: "
Thirdly, it is forbidden for a woman to go out of her husband's house without her husband's permission.
Allaah knows best.