Women are but an ‘awrah (something private to be covered). A woman might leave her house without there being any problem with her, but the Shaytân seeks her out and says [to her], “You will not pass by anyone except that you will impress/please him.” A woman puts on her clothes and is asked where she is going, to which she replies, “To visit a sick person,” or “to attend a funeral”, or “to pray in the masjid”; but a woman never worships Allâh in the way she does when she worships Him in her house.
[Al-Tabarânî. Graded sahîh by Shaykh Al-Albânî in Sahîh Al-Targhîbi wa Al-Tarhîb Vol. 1 p84]