as-salaam alaykum
Ibn ‘Umar reports from the Prophet that once a lady came to the Prophet and asked him about the rights of a husband on his wife. He replied: … she should not leave his house without his permission. (Sunan Bayhaqi, No: 14490)
Answer:
A particular ruling must be understood in the context of general rulings. Islam requires that the wife adopt an attitude of adjustment and harmony with the husband and the husband is required to be affectionate and accommodating as far as possible to the needs of his wife. He must not impose any undue restrictions on her for this will ignite the wrath of God upon him.
With regard to a wife seeking her husband’s permission before leaving the house, the proper perspective must be understood. In general circumstances of mutual trust, there is no need for a wife to ask permission from her husband to go out (see: The Guiding Helper,song 38, marriage, page 307). However, in certain circumstances in which the husband genuinely considers that going out might disrupt the family in any way, he has the authority to exercise his right of stopping her and in these circumstances, she should always ask permission to leave the house. In this regard, the husband must remember that if he imposes himself without any sound and justifiable reason, he would be crossing the bounds and invoking the displeasure of the Almighty. His wrong behavior may even lead the wife to abandon him for which he would be solely responsible (see tafsir Ibn kathir An-nisa 19)
We would also note here that any decent (real Muslim!) husband will give his wife general permission to leave the house during times of general safety ,because Allah swt says:
O ye who believe! Ye are forbidden to inherit women against their will. Nor should ye
treat them with harshness, (regaring the issue that woman have to ask permission to
their husbands for leaving the house, the husband must remember that if he imposes
himself without any sound and justifiable reason, he would be crossing the bounds and
invoking the displeasure of the Almighty,because he is not allowed to treat his wive with
harsh unjust rulings by abusing his rights)that ye may take away part of the dower
[money given by the husband to the wife for the marriage contract] ye have given
them, except where they have been guilty of open lewdness; on the contrary live with
them on a footing of kindness and equity. If ye take a dislike to them it may be that ye
dislike a thing, and God brings about through it a great deal of good (Qu’ran An-nisa 19.
wa-salaam alaykum