
"People from Afghanistan and Pakistan wanted to cross Iran but we prevented them passing and we have arrested others," Interior Minister Abdolreza Rahmani Fazli said, linking them to IS.
The report, carried by the official IRNA news agency, did not specify how many arrests had been made or where the detentions occurred.
"Our forces are particularly vigilant in the border areas given that they face threats from terrorist groups," the minister added.
Iran and Iraq, predominantly Shia states, have strengthened their ties since the fall of the latter's Sunni dictator Saddam Hussein in a US-led invasion launched in 2003, and the subsequent occupation.
US troops left Iraq in 2011 but the rapid advance of IS into Iraq from Syria in June forced Washington to send military advisers to Baghdad and cooperation has since expanded to air strikes on militant targets.
Iran has also sent military assistance to Iraq but has denied that it has any troops on the ground.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ