A:
It is impermissible for a woman to leave her husband's house during Hidad unless she does so for a necessity, such as visiting doctors and other urgent matters. Leaving the house to clean the Masjid is not a necessity that permits a woman who is observing Hidad to leave her deceased husband's house, because the Masjid can be cleaned by someone else. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.