Azerbaijan on Thursday denounced what it called "slanderous" comments by a senior Iranian military commander, the latest sign of fractious relations between the oil-rich Caspian Sea neighbours.
Baku made the remarks a day after Azeri security services said they were investigating "a terror attack" after a lawmaker with strong anti-Iranian views was shot and wounded at his home.
The Azeri defence ministry said Kiumars Heydari, head of Iran's regular army ground forces, had stated that members of the Islamic State militant group had fought for Azerbaijan and were still based in the country.