The woman, who has not been identified, reportedly took off her headscarf in Tehran’s Enghelab Street to “encourage corruption through the removal of the hijab in public”.
Tehran’s prosecutor Abbas Jafari-Dolatabadi, who announced the sentence, said she intended to appeal against the verdict, according to Mizan Online news agency.
The woman was jailed on Wednesday for three months without parole and Mr Jafari-Dolatabadi said she was in need of medical treatment.
But he criticised the suspension of the majority of her sentence and argued that she should serve the full term of her penalty.
A number of women in Iran have been pictured in protesting the obligatory Islamic headscarf by publicly taking off their hijabs and waving them on sticks in recent months.
Videos and photos shared widely on Facebook and Twitter have showed the women purportedly following the lead of a woman who was arrested for a similar demonstration in January.
The 31-year-old protester, known as the “Girl of Enghelab Street”, later identified as Vida Movahed, took off her headscarf on a street in the capital Tehran. She was detained for several weeks before being released from custody.
Women in Iran have been forced to cover their hair since the 1979 revolution, although they are usually sentenced to far shorter terms of two months or less, and fined $25.
More than 30 Iranian women have been arrested since the end of December for publicly removing their veils in defiance of the law.
The Independent
More about: Iran