Iran's hard-line Revolutionary Guard has warned Saudi Arabia and the United Arab Emirates (UAE) not to interfere in the country's internal affairs or cross its "red lines" in the wake of the terror attack on a military parade that killed 24 people.

The Guard's acting commander, General Hossein Salami, claimed in remarks broadcast on Friday that the Saudis and the UAE "are trying to bring chaos into Iran".

Salami said: "Do not cross our red lines."

Meanwhile, the official IRNA news agency said the Guard killed four militants and wounded two in a clash near the Pakistani border in the southeastern Sistan-Balochistan province.

The report didn't offer more details on the clash.

Iranian forces occasionally clash with Baloch militants in the country's east and Kurdish separatists in the west.