Husband giving his wife some properties for giving him a loan

Q: Twenty-five years ago, when we both were fifteen years old, I married my cousin. During our life together, I was so stern with her nearly in everything, and she was so patient with me showing absolute obedience. She had some money that she inherited from her mother as well as the money she was given by her brothers. As I was poor, she used to support me with whatever money or jewelry she had. After ten years, we were still childless, so we went to specialists who informed me that there was nothing wrong with me that prevented me form having children. I gave her the option to divorce (Part No. 19; Page No. 259) so that she may marry again and have children, but she refused, as she is a good and righteous woman who seeks the reward from Allah. I owe her thirty thousand riyals plus another thirty thousand riyals that I have dedicated to her as a grant when I became well-to-do, praise be to Allah, due to the financial support she gave me before. Now, I own two houses; the first in Riyadh and the second in Al-Quway`iyyah. I offered to give her one of the houses to sell in compensation for the money I owe her, and if the price of the house is higher than the money I owe her, she can pay me the difference, and if she cannot, that is alright with me. Is it permissible in Shari`ah (Islamic law) to do this, knowing that I am in good health and totally aware of what I am doing? Allah knows the unseen and He may grant us offspring one day. Kindly give me a Fatwa (legal opinion issued by a qualified Muslim scholar) in this regard. May Allah grant you success.

A: If the reality is as you mentioned, that you wish to give your wife the money and gold you owe her which amounts to thirty thousands riyals in addition to another thirty thousand riyals as a grant from you to honor her for her good companionship and acceptance to remain with you, and you took this decision while you were in perfect physical and mental health, then as such, what you did is legally sound. Furthermore, you may give her one of the two houses you own in return for the money you owe her, as long as you mutually agree to that and both of you are mentally and physically sound. Moreover, your acceptance to give her the house, although its price may be higher than the money you owe her, which is sixty thousand riyals, that is also (Part No. 19; Page No. 260) legally correct so long as you are of sound mind and health. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.