Seven Indonesian nationals were detained in raids conducted in Selangor recently on suspicion of being involved in terrorist activities by making Malaysia as a transit before going to Syria, inspector-general of police Khalid Abu Bakar said yesterday.