The UN spokesman made the remarks in response to a question by IRNA correspondent in New York.
Dujarric said that the UN condemns the attack at the religious site, and sympathized with the people and government of Iran.
"UN Secretary General Antonio Guterres strongly condemns the terrorist attack on Shah Cheragh which is the second of its kind over the past 10 months," the UN spokesman said.
A terrorist went on a shooting spree in the holy shrine in Shiraz on Sunday night, killing one and injuring 10 people.
Early on Monday morning, Mousavi said four suspects linked to the incident had been arrested and added that they are all of foreign origins.
He added that the main terrorist, who started shooting at people in the shrine and was immediately arrested, has been handed over to investigators for further interrogation.
Iranian President Ebrahim Raisi on Sunday ordered Interior Minister Ahmad Vahidi and Governor of Fars Province Mohammad Hadi Imanieh to swiftly identify and punish the perpetrators of the terrorist attack.
The Shah Cheragh shrine in Shiraz was the scene of a similar attack by armed terrorists last year.
On October 26, 2022, an armed terrorist barged into the shrine, killing 13 pilgrims, including women and children, and injuring dozens more before he was shot and injured by security forces.
2050