US officials said intelligence shows that the devastating attack on Saudi Arabia’s oil industry was staged in Iran, and have shared the information with the oil-rich ally as both countries consider retaliatory strikes, according to a new report.

The assessment, which the US had not made public, came as President Trump raised the prospect of the US and Saudi Arabia joining forces to target Iran, The Wall Street Journal reported, citing sources.

Saudi officials said they hadn’t yet reached the same conclusion that Iran was the staging ground for the attacks, and indicated that the information shared by the Americans wasn’t definitive.

The Saudi-led coalition leading the fight in Yemen said the weapons used to hit the kingdom were Iranian, in its first assessment of the weekend attacks.

Secretary of State Mike Pompeo has been in contact with leaders in the Middle East to discuss the intelligence.

Trump officials told the Iraqi government this weekend that Iraq wasn’t used to launch Saturday’s attack, according to US and Iraqi officials, The Journal reported.

The US had dismissed a claim by Houthi militants in Yemen that they sent 10 drones to attack the Saudi oil sites, which crippled the kingdom’s petroleum industry, sent energy markets reeling and threatened to spark more violence in the volatile region, where Iran and Saudi Arabia and their proxies were already at each other’s throats.

Iran has denied that the country was behind the attacks.

Trump warned on Twitter Sunday that the US was “locked and loaded” and ready to strike when America and Saudi Arabia identified who was responsible.

“There is reason to believe that we know the culprit, are locked and loaded depending on verification,” Iran has denied.

“But are waiting to hear from the Kingdom as to who they believe was the cause of this attack, and under what terms we would proceed!”

Video showed flames leaping from the burning oil facility as thick black smoke billowed skyward.

The strikes on Saudi Arabia’s oil infrastructure caused a production shutdown on a scale the world had not seen for decades, and was expected to result in an increase in the price of gasoline.

Trump met Monday with his national security team to discuss the attacks and escalating tensions in the Middle East, one source told the paper.

The president and his team, which included Secretary of Defense Mark Esper and acting national security adviser Charles Kupperman, discussed contingency plans for responding to the attacks, the source said.

On Monday, Trump tweeted about an incident in which Iran brought down a US drone in June, saying he had called off a planned retaliatory strike.

“Remember when Iran shot down a drone, saying knowingly that it was in their ‘airspace’ when, in fact, it was nowhere close,” he wrote. “They stuck strongly to that story knowing that it was a very big lie. Now they say they had nothing to do with the attack on Saudi Arabia. We’ll see?”

Lawmakers had differing reactions.

South Carolina GOP Sen. Lindsey Graham — a reliable Trump backer — called for the US to put an attack on Iranian oil refineries “on the table.”

Others cautioned against military action that could lead to another war at a time when America is trying to extricate itself from Afghanistan, Iraq and Syria.

Utah Republican Sen. Mitt Romney warned on Twitter Monday that any “direct engagement by US military in response to Iran’s attacks on Saudi oil infrastructure would be a grave mistake.”

Romney pointed out that America had sold weapons to Saudi Arabia so the country could defend itself.

If Saudi Arabia responded to the attacks, he said, “the US should be ready to support in a non-kinetic role.”

Democrats were more direct in their warnings.

“The U.S. should never go to war to protect Saudi oil,” Virginia Sen. Tim Kaine tweeted.

Sen. Chris Murphy of Connecticut on Monday called Iranian involvement in the attacks unacceptable but criticized Trump’s Iran strategy as “blind unilateral escalation.”