Abu al-Ahwas narrates that Sayyiduna Ibn Mas'ud (may Allah be pleased with him) said: "A woman is something to be kept concealed. When she goes out of her house, Satan urges her on, and she says (to herself): Everyone who saw me admired me. And a woman is nearest to Allah when she is in the innermost part of her house."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 9448