Then on Wednesday, Saudi Arabia's air defenses intercepted two ballistic missiles over the capital Riyadh, the latest in a series of attacks claimed by rebels in neighboring Yemen.
They have fired a series of ballistic missiles, at least some of which are proven by the United Nations to be Iranian-made, at Saudi Arabia in the past year.
"All potential violations of worldwide humanitarian law should be thoroughly investigated and those responsible for violations must be held accountable", added the statement.
"Saudi Arabia does not want to acquire any nuclear bomb [s], but without a doubt if Iran developed a nuclear bomb, we will follow suit as soon as possible", MBS told CBS in an interview. Such behaviour is unacceptable.
It may do so by undermining the interests of Washington and its allies in the Middle East including by increasing support for Yemen's Houthi armed movement, possibly provoking a military response from Saudi Arabia and the United Arab Emirates.
A military source said that the rocket force of the Yemeni army and the Popular Committees bombed the headquarter with a homemade Badr 1 ballistic missile.
"We will find the right way and at the right time to respond to this", he warned.
His comments came shortly after Houthi rebels fired two ballistic missiles toward Riyadh. "We are trying to avoid at all costs direct military action with Iran, but Iran's behaviour such as this can not continue". Since the conservative Sunni kingdom maintains Tehran is backing the militia in Yemen, the Saudi official said the strikes amounted to a "declaration of war".
Under the Iran nuclear agreement, the threat of an Iran bomb could have been averted for at least 10 years.
Middle East analyst James Dorsey said "the core of Iran's defence policy" is its ballistic missile programme - and they will not compromise.
For Saudi Arabia, that is "fine" because it means the return of sanctions and ratcheting up pressure on Iran in the region, including by Israel.
"The kingdom supports and welcomes the steps announced by the USA president towards withdrawing from the nuclear deal. and reinstating economic sanctions against Iran", the foreign ministry said. "We have made it very clear that if Iran acquires a nuclear capability we will do everything we can to do the same".