Zarif's comments came hours after Trump, who is visiting Saudi Arabia, urged Arab and Islamic leaders to unite and defeat Islamist extremists. Trump singled out Iran as a key sponsor of militant groups, sending a tough message to Tehran the day after Hassan Rouhani won a second term as Iran's president.
"Iran - fresh from real elections - attacked by @POTUS in that bastion of democracy & moderation. Foreign Policy or simply milking KSA of $480B?," Zarif wrote in a Twitter post, referring to the Kingdom of Saudi Arabia.
Iran and Saudi Arabia have long accused each other of sponsoring militias aligned to their competing sects of Islam in conflicts across the Middle East.