If he forbids her to visit her family, should she obey him?
Question

Is it permissible to obey one’s husband if he does not want his wife to visit her family?.
Praise be to Allah.It is not permissible for a woman to go out of her husband’s house without his permission, even if that is to visit her parents, but he should give her permission, so that she will be able to uphold her ties of kinship. But if he forbids her then she must obey him, and he has no right to prevent her parents from visiting her or speaking to her. 
The fuqaha’ differed concerning this issue, but what we have mentioned is the most correct view. 
The Hanafis and Maalikis are of the view that he does not have the right to prevent her from visiting her parents.  
The Shaafa’is and Hanbalis are of the view that he does have the right to prevent her, and she must obey him and not go out to visit them without his permission, but he does not have the right to prevent her from speaking to them or to prevent them visiting her, unless he fears that some harm may result from their visit, in which case he may prevent it so as to ward off harm. 
Ibn Nujaym (Hanafi) said: If her father is chronically ill, for example, and he needs her to serve him, and the husband prevents her from looking after him, then she should disobey him, whether the father is a Muslim or a kaafir. This is what it says in Fath al-Qadeer. From what we have mentioned it may be understood that she may go out to visit her parents and mahrams, and according to the correct view she may go out to visit her parents once a week with or without his permission, and to visit her mahrams once a year with or without his permission. End quote from al-Bahr al-Raa’iq (4/212). 
It says in al-Taaj wa’l-Ikleel ‘ala Matn Khaleel (Maaliki) (5/549): In al-‘Utbiyyah it says: The man does not have the right to prevent his wife from going out to her father’s or brother’s house, and this is the ruling that should be issued concerning that, unlike Ibn Habeeb. Ibn Rushd said: This difference of opinion only concerns a young woman who is trustworthy; as for the old woman, there is no dispute that she may visit her father and brother. And as for a young woman who is not trustworthy, she should not be allowed to go out. End quote. 
The “old woman” is one who is elderly and for whom men feel no desire. Al-Mawsoo’ah al-Fiqhiyyah (29/294). 
Ibn Hajar al-Makki (Shaafa’i) said: If a woman needs to go out to visit her father or to use the public baths, she should go out with her husband’s permission, not showing her adornments, wearing a wrapper and scruffy clothes, lowering her gaze when walking in the street and not looking right or left, otherwise she will be sinning. End quote from al-Zawaajir ‘an Iqtiraaf al-Kabaa’ir (2/78). 
It says in Asna al-Mataalib (Shaafa’i) (3/239): The husband has the right to prevent his wife from visiting her parents (when they are sick) and attending their funerals and the funeral of her child, but it is better not to do that. End quote. 
Imam Ahmad (may Allah have mercy on him) said concerning a woman who has a husband and a sick mother: Obeying her husband is more obligatory for her than her mother, unless he gives her permission. End quote from Sharh Muntaha al-Iraadaat (3/47). 
It says in al-Insaaf (Hanbali) (8/362): She does not have to obey parents about leaving her husband or visiting them and so on, rather obedience to her husband takes precedence. 
The Standing Committee for Issuing Fatwas was asked: What is the ruling on a woman going out of her husband’s house without his permission, and staying in her father’s house without her husband’s permission, and preferring to obey her father rather than her husband? 
Answer: It is not permissible for a woman to go out of her husband’s house without his permission, whether to go to her parents or elsewhere, because that has to do with his rights over her, unless there is a shar’i reason that compels her to go out. End quote from Fatawa al-Lajnah al-Daa’imah (19/165). 
Another indication that it is essential to have the husband’s permission to visit one's parents is the report narrated in al-Saheehayn about the story of the slander (al-ifk), in which ‘Aa’ishah (may Allah be pleased with her) said to the Prophet (peace and blessings of Allah be upon him): Will you give me permission to go to my parents?  
Al-Bukhari (4141) and Muslim (2770). 
Al-‘Iraaqi said in Tarh al-Tathreeb (8/58): Her saying “Will you give me permission to go to my parents?” indicates that the wife should not go to her parents’ house except with her husband’s permission, unlike her going out to relieve herself which does not require his permission, as happened in this hadeeth. End quote. 
Nevertheless, it is better for the husband to allow his wife to visit her parents and mahrams, and not to prevent her from doing that unless some harm will result from visiting any of them, because his preventing her entails the severing of family ties, and his refusing her permission may make her go against him, and because visiting her family and relatives will make her and her children happy, and that will benefit the husband and the family. 
And Allah knows best.