Hazrat Ali (may Allah be pleased with him) used to permit a woman to leave her house after her husband had passed away.