German police arrested three Iraqi citizens on suspicion they were planning an Islamist-motivated attack, the federal prosecutor’s office said on Wednesday.