Story highlights

The arrests were made as part of a joint Spanish-Moroccan operation

The suspects are accused of being part of a network recruiting foreign fighters for ISIS

CNN  — 

Fourteen people have been detained in Morocco and Spain on suspicion of recruiting people to fight for ISIS in Syria and Iraq, the Spanish Interior Ministry said.

The suspects were arrested in a town outside Madrid and in several locations in Morocco – Fez, Casablanca, Nador, Al Hoceima and Driouech – during a joint operation between the two countries, the ministry said in a statement Tuesday.

They are accused of being part of a network that recruited and sent foreign fighters to join the ranks of ISIS, it said.

The investigation is ongoing, it said.

The statement did not say what had prompted the arrests.

CNN’s Vasco Cotovio contributed to this report.