It is reported that ‘Umar b. Al-Khattāb came out one Eid. Passing by a group of women, he could smell the scent of perfume from one of them.
He asked, “Who is the one wearing this scent?
By Allāh, if I knew who she was, I would do such-and-such (punish her).
A women is only to wear perfume for her husband, and if she goes out, she wears her older (scruffier) clothes or the older clothes of her servant.”
And so it was rumored amongst the women that the woman [who was wearing perfume in public] got up from that gathering having soiled herself (out of fear).
Ibn Abī Shaybah, Al-Musannaf article 6387.