Turkey's state-run news agency says police have detained a Syrian Islamic State militant suspected of planning a suicide attack against the U.S. Consulate in Istanbul.

Anadolu Agency said the man was detained on Tuesday in Kahramanmaras, a province close to the border with Syria. It didn't cite a source for the report.

The U.S. Consulate was closed down last week over an unspecified threat. Unconfirmed Turkish news reports had said the closure was related to intelligence that an IS militant planning attacks had crossed into Syria from Turkey.