Story highlights Police: A man attacked two members of Canada's military at a recruiting center

Authorities are looking into whether the attack has terror ties, police chief says

Terrorism is a possibility "because certain comments were made," he says

(CNN) A man accused of injuring two Canadian service members in a knife attack at a military recruiting center allegedly said afterward that Allah told him to do it, Toronto police Chief Mark Saunders said Tuesday.

" 'Allah told me to do this. Allah told me to come here and kill people,' " suspect Ayanie Hassan Ali said Monday at the center in Toronto, according to Saunders.

Ali, a 27-year-old Canadian citizen, was detained on suspicion of injuring two troops -- slashing one with a knife and stabbing the other -- after walking into a recruitment center Monday afternoon in a federal building in Toronto, Saunders said.

Ali faces charges including one count of attempted murder, two counts of assault with a weapon, one count of aggravated assault and a count of possession of a weapon for a dangerous purpose, Saunders said. He was due in court at 2 p.m. ET Tuesday.

Investigators still are trying to determine whether the attack was terrorism or simply criminal, Saunders said. Terrorism is a possibility "because certain comments were made ... but there needs to be more to support," the chief said.

Read More