Iranian Foreign Minister Abbas Araghchi has criticised US Homeland Security Secretary Markwayne Mullin after a report said he had done a "happy dance" over Iran's elimination from the World Cup.

"'Mission Accomplished,' Mr Mullin," Araghchi wrote.

"You also accomplished something else: proving to the world that you have no business hosting an international tournament," he added, describing Mullin's conduct as "a masterclass for how to squander the dignity that comes with being a host".

A US media report shared by Araghchi cited Mullin telling reporters that he was relieved by Iran's exit from the tournament.

"I'm just glad they're done, and they're not coming back," Mullin reportedly said, adding that he "might've sung a song or two or maybe even danced a happy dance".