The Islamic State of Iraq and the Levant group (ISIL, also known as ISIS) has claimed the responsibility for killing of Ethiopian nationals in Bosaso town, north of Somalia.
The group says its fighters shot and killed two Ethiopian natioanals and injured at least 4 others in Bosaso town.
In a statement, the group said it had targeted Ethiopian spy agents.
Puntland Police in the town, said the killers fled from the crime scene.
The victims were immediately rushed into hospital.
The police said an operation relating to the incident started.
No arrests have been made so far.
The Islamic State (IS) faction in Somalia has grown significantly over the past year, carrying out attacks in Puntland.
A report by UN sanctions monitors said the Islamic State has been receiving some funding from Syria and Iraq.
In February, Islamic State gunmen stormed a hotel in Bosaso, the economic capital of Puntland, leaving several people dead.
In May, the faction carried out its first suicide attack at a police checkpoint near Bosaso, killing five people.
However, UN report raised concerns that the Bari region could become a potential haven for foreign fighters as the extremists are driven out of their strongholds in Syria and Iraq.