"If Iran wants to fight, that will be the official end of Iran. Never threaten the United States again," Trump said on Twitter.
Iran-US relations hit a new low last year as US Trump pulled out of a 2015 nuclear deal and reimposed unilateral sanctions that had been lifted in exchange for Tehran scaling back its nuclear program.
Since then, tensions between Washington and Tehran have been on the rise. The tensions escalated further last week after the US deployed a carrier group and B-52 bombers to the Gulf over what it termed Iranian "threats." This account has been met with widespread scepticism outside the United States.
"We are certain... there will not be a war since neither we want war nor does anyone have the illusion they can confront Iran in the region," Mohammad Javad Zarif told state-run news agency IRNA at the end of a visit to China.
Saudi Arabia on Sunday called for an emergency regional talks to discuss the mounting Gulf tensions, saying that it does not want war with Iran but is ready to defend itself.