Iranian authorities are restricting all journalists working for foreign media from firsthand reporting on the streets.

The rules cover all journalists, including Iranians working for foreign media. It blocks images and eyewitness descriptions of the protests and violence that has followed last week's disputed elections.

The order issued Tuesday limits journalists for foreign media to work only from their offices, conducting telephone interviews and monitoring official sources such as state television.

Click here for photos.

It comes as foreign reporters in Iran to cover the elections began leaving the country. Iranian officials say they will not extend their visas.

Also Tuesday, Iran's state radio reported that clashes in the Iranian capital the previous day left seven people dead during an "unauthorized gathering" at a mass rally over alleged election fraud — the first official confirmation of deaths linked to the wave of protests and street battles after disputed elections in last week.

The report said the deaths occurred after protesters "tried to attack a military location." It gave no further details, but it was a clear reference to crowds who came under gunfire Monday after trying to storm a compound for volunteer militia linked to Iran's powerful Revolutionary Guard.

The shootings came at the end of huge rally by opponents of President Mahmoud Ahmadinejad claiming widespread fraud in Friday's voting. The protest movement has shown no signs of easing — with another reported rally planned for later Tuesday — and has even forced Iran's non-elected ruling clerics into the unfamiliar role of middlemen between the government and its opponents.

• Twitter Links Iran Protestors to Outside World

• How Iranians Get Around Web Censors

Click here for FOXNews.com's Iran content center.

The deaths also raise the prospect of further defiance and anger from crowds claiming that reformist leader Mir Hossein Mousavi was the rightful winner of the election. Mousavi's backers reportedly plan to gather in a Tehran square later Tuesday where pro-Ahmadinejad crowd also have called a rally to demand punishment of "rioters."

In a message posted on his Web site, Mousavi said he will not attend the rally and asked his supporters "not fall in the trap of street riots" and exercise self-restraint."

The deaths Monday occurred on the edge of Tehran's Azadi Square after hundreds of thousands of Mousavi supporters defied an official ban and marched through the city. An Associated Press photographer saw gunmen, standing on a roof, opening fire on a group of demonstrators who tried to storm the militia compound.

Angry men showed their bloody palms after cradling the dead and wounded who had been part of a crowd that stretched more than five miles (nearly 10 kilometers).

The march also marked Mousavi's first public appearance since shortly after the election and said he was willing to "pay any price" in his demands to overturn the election results.

Ahmadinejad, meanwhile, arrived in Russia on Tuesday to attend a regional security summit, after having postponed the trip for one day.

A Web site run by Iran's former reformist vice president, Mohammad Ali Abtahi, said he had been arrested by security officers, but provided no further details. Abtahi's Web site, popular among the youth, has reported extensively on the alleged vote fraud after Friday's election.

In Washington, President Obama said Monday he was "deeply troubled by the violence I've been seeing on TV."

Although he said he had no way of knowing whether the election was valid, Obama praised protesters and Iranian youth who questioned the results. "The world is watching and is inspired by their participation, regardless of what the ultimate outcome of the election was," he said.