Iran has said it will not accept any changes to its 2015 nuclear deal with world powers after US president Donald Trump vowed to pull out of the accord if European allies do not fix its “terrible flaws”.

The Iranian foreign ministry said it “will not accept any change in the deal, neither now nor in future”, adding that it will “not take any action beyond its commitments”.

On Friday, Mr Trump extended the waivers of key economic sanctions that were lifted under the agreement limiting Iran’s nuclear programme.

However, he said he would work with European allies to remove so-called “sunset clauses” that allow Iran to gradually resume advanced nuclear activities in the next decade.