Saudi Arabia and other Arab countries recently published a list of groups and individuals considered terrorists within the framework of the severing of relations with Qatar over accusations the country supports terrorism and has been attempting to destabilize Gulf states.
Seventeen people were killed last week in a terror attack claimed by IS in Tehran.
Iran and the United States cut diplomatic ties shortly after Iran's 1979 Islamic revolution and enmity to Washington has always been a rallying point for hardline supporters of Khamenei in Iran.
The remarks by Zarif partially referred to the comments made by Saudi Arabia's deputy crown prince, Mohammed bin Salman Al-Saud, in May, who said Riyadh would bring "the battle" into Iran.
Khamenei said the US and its allies' engagement in the Middle East to fight terrorism is a "lie" and referred to them as "the source of instability in the Middle East". "Just a day ago, Qatar's foreign minister called Hamas 'a legitimate resistance movement, '" said committee chairman Ed Royce (R., Calif.).
Weighing on the chances of Iran-US relations improving, Khamenei said there was hardly any room for rapprochement, arguing that Washington is against the very idea of "an independent Iran", Reuters reported.
There are no apparent plans by Arab states to propose that names from their Qatar blacklist be subjected to United Nations sanctions, diplomats said on Wednesday, a likely hard move that would need approval by the 15-member U.N. Security Council.
"Mohammad Javad Zarif made the statement at the opening ceremony of the Oslo Forum in Norway's capital on Tuesday, also attended by European Union foreign policy chief, Federica Mogherini, and former U.S. secretary of state John Kerry, IRNA reported".
According to Iran's Press TV, at least 12 people have been killed in Wednesday's attacks while another 42 were injured and admitted to three hospitals for treatment.
Iran's intelligence ministry said the attackers were Iranians who had joined ISIS in Iraq and Syria and returned home to carry out the attack. "If we don't slap the enemy" outside our borders, Iran's public prosecutor told the public in March, "he'll come to your door".
The sophisticated ISIS attack in Tehran is a major operational success for the group.