IRAN’S president has accused an unnamed US-allied country in the Persian Gulf of being behind a terror attack on a military parade that killed 25 people and wounded 60, further raising regional tensions.

Hassan Rouhani’s comments came as Iran’s Foreign Ministry also summoned Western diplomats over them allegedly providing havens for the Arab separatists who claimed Saturday’s attacks in the southwestern city of Ahvaz.

However, US ambassador to the United Nations Nikki Haley dismissed Iran’s assertion and says Tehran should look closer to home.

“He’s got the Iranian people protesting, every ounce of money that goes into Iran goes into his military, he has oppressed his people for a long time and he needs to look at his own base to figure out where that’s coming from,” Ms Haley told CNN’s State of the Union on Sunday.

“He can blame us all he wants. The thing he’s got to do is look at the mirror.”

The Iranian moves, as well as promises of revenge by Iran’s elite Revolutionary Guard, come as the country already faces turmoil in the wake of the American withdrawl from Tehran’s nuclear deal with world powers.

The attack in Ahvaz, which saw women and children flee with uniformed soldiers bloodied, has further shaken the country.

Mr Rouhani’s remarks could refer to Saudi Arabia, the United Arab Emirates or Bahrain — close US military allies that view Iran as a regional menace over its support for militant groups across the Middle East.

“All of those small mercenary countries that we see in this region are backed by America. It is Americans who instigate them and provide them with necessary means to commit these crimes,” Mr Rouhani said before leaving for the UN General Assembly in New York.

Iran meanwhile summoned diplomats from Britain, Denmark and the Netherlands early Sunday for allegedly harbouring “members of the terrorist group” that launched the attack. Danish Foreign Minister Anders Samuelsen condemned the attack and stressed that there would be “consequences” if it turns out that those responsible have connections to Denmark.

The ministry later summoned the UAE’s envoy as well over what it called the “irresponsible and insulting statements” of an Emirati adviser, according to the semi-official ISNA news agency. The UAE did not immediately acknowledge the summons.

Saturday’s attack, in which militants disguised as soldiers opened fire on an annual Iranian military parade in Ahvaz, was the deadliest attack in the country in nearly a decade. Women and children scattered along with once-marching Revolutionary Guard soldiers as heavy gunfire rang out, the chaos captured live on state television.

The region’s Arab separatists, once only known for night-time attacks on unguarded oil pipelines, claimed responsibility for the assault, and Iranian officials appeared to believe the claim.

The separatists accuse Iran’s Persian-dominated government of discriminating against its ethnic Arab minority. Khuzestan province also has seen recent protests over Iran’s nationwide drought, as well as economic protests.

The attack killed at least 25 people and wounded 60, according to the state-run IRNA news agency. It said gunmen wore military uniforms and targeted a riser where military and police commanders were sitting.

State TV hours later reported that all four gunmen had been killed.

At least eight of the dead served in the Revolutionary Guard, an elite paramilitary unit that answers only to Iran’s supreme leader, according to the semi-official Tasnim news agency.

The Guard responded to the attack on Sunday, warning it would seek “deadly and unforgiving revenge in the near future.”

Tensions have been on the rise in Iran since the Trump administration pulled out of the 2015 nuclear accord with Iran in May and began restoring sanctions that were eased under the deal. It also has steadily ramped up pressure on Iran to try to get it to stop what Washington calls its “malign activities” in the region.

The US government nevertheless strongly condemned Saturday’s attack and expressed its sympathy, saying it “condemns all acts of terrorism and the loss of any innocent lives.”

The attack dominated Iranian newspaper front pages on Sunday. The hard-line daily Kayhan warned that Iranians would demand Saudi Arabia feel the “hard slap” of the country’s power.

Iran’s government declared Monday as a nationwide public mourning day, state-run IRNA news agency reported Sunday.

Also all governmental organisations, banks, schools and universities in southeastern Khouzestan province will be closed on Monday, semi-official Tasnim news agency reported.

An overnight impromptu candlelight vigil in Ahvaz honored the dead and wounded.

Among the dead is 4-year-old Mohammad Taha, who was captured by a photographer being carried away from the attack by a Guardsman in full dress uniform and sash.

The photograph, showing the boy bloodied and helpless, shocked Iran. A doctor interviewed on state television said Mohammad had been up the night before marking Ashoura, a commemoration of the death of the Prophet Muhammad’s grandson Hussein, one of Shiite Islam’s most beloved saints.

Mourners wear black in honour of his 7th century death in the Battle of Karbala in present-day Iraq.

“He was wearing a black shirt when he was martyred,” a doctor said, standing next to the boy’s tiny corpse, now wrapped in a blue body bag.