Commenting on the US President's visit, Iranian Foreign Ministry spokesman Bahram Qasemi said Iraqi officials and people gave Trump the cold shoulder, according to the IRNA news agency.
"Regional nations will never allow aggressive aliens to sow discord among them", Qasemi was quoted as saying by the agency.
This week, Trump and his wife Melania made an unannounced Christmas visit to US troops stationed in Iraq. The US president said he had no plans to pull out US forces of the country.
READ MORE: Iraqi Lawmakers Vexed by Trump's Surprise Visit to Military Base Near Baghdad
Trump announced in May that the United States was withdrawing from the 2015 Joint Comprehensive Plan of Action (JCPOA) and re-imposing its sanctions against Tehran that had been lifted under the agreement. The first package of the US restrictions came into force in August.