The Prophet (ﷺ) forbade a woman's guardian or the one responsible for her from preventing women from attending the mosques. He also instructed women, when going out, to do so without wearing perfume or displaying adornment, so that they would not be a cause of temptation for men.