ANSWER:
There is a hadeeth where abu hurairah May Allah be pleased with him ordered a woman not to go to the masjid wearing her perfume until she takes ghusul as Allah will not accept her prayers.
Some scholars say that this is mandatory and others say that this is recommended.