The attack took place at Centre Culturel Islamique de Quebec (Quebec City Islamic Cultural Center) on Sainte-Foy Street.
Two suspects have been arrested so far, according to Quebec Provincial Police spokeswoman Christine Coulombe. Some of the victims were badly injured, she said, adding that those killed in the attack were around 35 to 70 years old.
Police have not given further details about the assailants or what prompted the attack. An investigation into the attack has been launched, the police spokeswoman added.
A witness, who refused to be identified, told Radio Canada that one of the attackers shouted “Allahu akbar” as he opened fire.
“One started shooting. As soon as he opened fire he shouted, ‘Allahu akbar!’ (God is great!) The bullets reached people who were praying. People who prayed lost their lives. As for myself, the bullet passed over my head,” the witness said, adding the attackers “seemed to have a very good Québec accent.”