He was convicted of “waging war against God”.
The country’s morality police had announced stricter checks some weeks ago, the UN High Commissioner for Human Rights Volker Türk said.
A judiciary spokesperson alleged that both journalists colluded with the government of the United States against Iran government.
The attacker managed to flee after the shooting.
The United Nations has awarded three detained Iranian female journalists the World Press Freedom Prize.
Katayoun Riahi, 61, posted her picture online without a veil while Pantea Bahram, 53, posed for a picture during film screening without a head covering.
The poisonings had roiled the country and sparked new protests last week.
Since the protests started four months ago, at least 80 journalists, according to Etemad publications, have been detained in Iran.
At least 40 foreign nationals have been detained since the recent wave of protests erupted in the Islamic country mid-September 2022.
“This was a politically motivated and unacceptable decision without any legal basis, which we, therefore, condemn.”
