Donald Trump's White House sent a diplomatic pouch full of Schadenfreude to Tehran on Wednesday following an ISIS terror attack that killed 12 and wounded 35 at Iran's parliament and a shrine to Ayatollah Ruhollah Khomeini.

'We grieve and pray for the innocent victims of the terrorist attacks in Iran, and for the Iranian people, who are going through such challenging times,' the president said in a statement.

And then the hammer blow: 'We underscore that states that sponsor terrorism risk falling victim to the evil they promote.'

Aaron Sagui‏, a spokesman for Israel's embassy in Washington, quoted that last sentence and tweeted: 'Exactly.'

YOU REAP WHAT YOU SOW: Donald Trump let his sarcasm fly on Wednesday, lecturing Iran's leaders after an ISIS attack by saying they back terrorists themselves

YEAH, YOU: Trump's unusually pointed statement followed a kinder sentence about praying for the Iranian people

The spokesman for Israel's embassy in Washington, D.C. tweeted: 'Exactly.'

The State Department condemned the deadly twin attacks, with spokeswoman Heather Nauert saying 'the depravity of terrorism has no place in a peaceful, civilized world.'

Official American statements of solidarity with the victims are notable because of the deep distrust between the U.S. and Iran. The two countries don't maintain diplomatic relations and the Trump administration has emphasized the need to counter Iran's influence.

The distrust of Iran was evident on Wednesday when shortly after the condemnation, Republicans and Democrats in Congress acted in a procedural vote to move forward on a new set of sanctions. The strong bipartisan vote was 92-7.

The bill would impose mandatory sanctions on people involved in Iran's ballistic missile program and anyone who does business with them. The measure also would apply terrorism sanctions to the country's Revolutionary Guards and enforce an arms embargo.

A few senators pleaded for a delay until next week in the previously scheduled vote in light of the attacks in Iran.

ISIS claimed its first ever terror attack in Iran on Wednesday after fighters stormed parliament and attacked a shrine to Ayatollah Khomeini (pictured, images released by the terror group claiming to show a fighter inside parliament)

Security forces stood guard as women and children were evacuated from the windows of the lower floors to rescuers below. Four jihadi fighters got into parliament through the visitor door while disguised as women in burkas before filming part of their rampage inside, including the body of a government worker

'Let us tell the people of Iran that while we have serious disagreements with them on a number of issues, that today when they are mourning, when they are dealing with the shock of a terrorist attack, today is not the day to go forward with this piece of legislation,' said Vermont's independent liberal senator Bernie Sanders.

Connecticut Democratic Sen. Chris Murphy also pushed for a delay, but Republicans and Democrats pressed ahead.

The bill is a 'carefully crafted response to Iran's ongoing aggression in the Middle East," said Democratic Sen. Bob Menendez of New Jersey.

Iranian authorities have arrested five suspects. The country's Revolutionary Guards blamed Saudi Arabia for the attack, saying: 'This terrorist attack happened only a week after the meeting between the U.S. President Donald Trump and the Saudi backward leaders who support terrorists.'

'The fact that Islamic State has claimed responsibility proves that they [Saudi Arabia] were involved in the brutal attack.'

Police said they shot the second suicide attacker dead before he could detonate his device (body of dead attacker pictured)

Two suicide bombers targeted a shrine to Ayatollah Khomeini, with one detonating an explosive (pictured)

Security surrounded parliament as one jihadi blew himself up inside parliament while another three were shot dead

Saudi Arabia's foreign minister denied the claims and, like the U.S., condemned the attack.

ISIS earlier said fighters armed with AK47s and pistols stormed parliament through the civilian entrance while disguising themselves as women by wearing burkas, shooting security guards before detonating a suicide bomb, killing at least five and wounding 25.

Meanwhile two more suicide bombers attacked a shrine to Ayatollah Khomeini, the founder of modern-day Iran, as another suicide device was detonated, killing at least two and injuring another 10.

The Guards' accusation dramatically escalates already-strained tensions on the Arabian Peninsula, coming after Saudi Arabia led a group of six nations in cutting ties with Qatar, saying the country supported 'Iranian terrorist groups'.