Five detained on suspicion of links with IS-inspired module