(CNN) Iran's Supreme Leader is threatening Saudi Arabia with "tough and harsh" retaliation after saying that the bodies of Hajj stampede victims are not being repatriated swiftly.

"Saudi Arabia failed to fulfill its duties concerning the desperate wounded (pilgrims)," said Ayatollah Ali Khamenei, according to Iran's official PressTV.

"Should we decide to show any reaction, our reaction will be tough and harsh," it quoted him as saying at a military academy Wednesday.

The Ministry also summoned the Saudi charge d'affaires Wednesday, warning against any delay in identifying and repatriating missing and dead Iranian pilgrims, Iran's state-run Mehr News Agency reported.

War of words

Iran and Saudi Arabia have been stepping up their war of words over last Thursday's stampede, with Riyadh accusing Tehran of politicizing the tragedy and Tehran demanding an apology from Saudi Arabia, which it says mismanaged the Hajj.

Photos: Photos: Managing the crowds at the Hajj – The annual Hajj pilgramage draws more than 2 million Muslim pilgrims from around the world. Hide Caption 1 of 8 Photos: Managing the crowds at the Hajj – Handling a crowd of that magnitude hasn't always been easy, especially in light of public health scares and terrorism threats. To accomplish such a feat goes off without a hitch, Saudi has had to go high-tech. Hide Caption 2 of 8 Photos: Managing the crowds at the Hajj – Saudi officials have long employed live crowd analytics software CrowdVision to manage the throng with real-time data. Hide Caption 3 of 8 Photos: Managing the crowds at the Hajj – While various health crises -- namely MERS and Ebola -- have cast a shadow over this year's proceedings, organizers employed a medical army to address any health issues that might arise. Hide Caption 4 of 8 Photos: Managing the crowds at the Hajj – According to the World Health Organization (WHO), this year there were 180 ambulances on standby, as well as 22,000 health care professionals, 141 health centers, 25 hospitals with 5,250 beds, and 19,000 units of varying blood types. Hide Caption 5 of 8 Photos: Managing the crowds at the Hajj – Traffic used to be a much bigger problem around the holy sites. Authorities have 15,000 buses on standby. A metro line completed in 2011 has helped to take some of the burden off the roads. Hide Caption 6 of 8 Photos: Managing the crowds at the Hajj – To safeguard against the possibility of a terrorist attack, officials installed thousands of CCTV cameras throughout Saudi Arabia, focusing on the holy sites, and employed facial recognition technology. Hide Caption 7 of 8 Photos: Managing the crowds at the Hajj – They also employed 60,000 security troops. Hide Caption 8 of 8

The Saudi state-run SPA news agency says at least 769 people were killed and more than 900 injured in the crush at Mina, a neighborhood about 2 miles from the Mecca holy site, but Iran says the death toll is higher.

Iran's Hajj and Pilgrimage Organization says 239 Iranian pilgrims have so far been confirmed dead, with 241 others unaccounted for, PressTV said Wednesday. It referred to what it said was an overall death toll of 4,173.

Khamenei also lashed out Sunday at Saudi Arabia over the Mina deaths.

"Saudi Arabia's rulers, instead of shifting blame (to others), must accept their responsibility in this heavy mishap by apologizing to the Islamic Ummah and their bereft families, and meeting their obligations to that effect," Khamenei said, according to a statement released by his office.

"The Muslim world has many questions, and the deaths of more than 1,000 people in this incident is not a minor issue; therefore, the Muslim world must think of a remedy to this issue," he continued. Iran and some other Muslim nations dispute the death toll released by Saudi Arabia.

Yemen and Syria

Saudi Foreign Minister Adel bin Ahmed Al-Jubeir responded by saying Iranians should not politically exploit a tragedy, SPA reported Sunday.

"We are going to disclose the truth when it comes out (following the completion of an investigation) and not hide anything. Had a wrongdoing taken place in Hajj, those who were in charge would be fully held responsible," it quoted him as telling reporters in New York as world leaders gathered for the United Nations General Assembly.

JUST WATCHED At least 717 killed in Hajj stampede Replay More Videos ... MUST WATCH At least 717 killed in Hajj stampede 02:21

The Middle Eastern rivals have also been trading jabs over foreign policy in the war-torn nations of Yemen and Syria in their comments on the Hajj stampede.

In an interview with Al-Arabiya on Monday, Al-Jubeir again accused Iran of politicizing Mina and said Iran was fanning unrest in the Middle East by arming Houthi rebels in Yemen and backing Syrian President Bashar al-Assad

Iran's Foreign Ministry responded Tuesday by issuing a statement from a spokeswoman re-emphasizing "poor management and lack of prudence of Saudi officials in connection with the Mina tragedy" and saying Saudi Arabia's armed intervention in Syria and Yemen would encourage extremism and instability in the region.

"Exactly at the time when thousands of Muslim countries' Hajj pilgrims are becoming victim of their lack of prudence, hundreds of Yemeni civilians are killed in a wedding ceremony in an air raid in Yemen," spokeswoman Marziyeh Afkha added.

On Wednesday, a statement by the Saudi-led coalition in Yemen said the Saudi navy had intercepted an Iranian ship attempting to smuggle arms in to Yemen over the weekend off the coast of Oman.

Weapons including anti-tank shells and rocket launchers were seized from the ship, which was manned by 14 Iranians and had Iranian documents claiming it was a fishing boat, the coalition said.