Mr Khamenei thanked the Iraqi people "for their clear stance against aggression" towards the country.