Imam as-Sadiq (a) narrated that a woman, whose husband had ordered her not to leave her house until he would be back from his journey, sent a messenger to the Prophet (s) to ask him a permission to visit her diseased father.
“No,” answered the Prophet (s), “She should sit in her house and obey her husband.”
As her father became intensely ill, she sent a messenger to the Prophet (s) asking for permission to visit him.
“No,” answered the Prophet (s), “She should sit in her house and obey her husband.”
As her father was dead, she sent a messenger to the Prophet (s) asking for permission to attend his funeral ceremony.
“No,” answered the Prophet (s), “She should sit in her house and obey her husband.”
When her father was buried, the Prophet (s) sent a messenger to tell her that Allah forgave her father and her because of her observance of the obedience to her husband. ( al-Wafi; part 12 page 115 (as quoted from al-Kafi) )