The mosque statement said the man was also armed with “numerous other sharp edged weapons.”
Worshipers sustained minor injuries from the bear spray, police said.
“The members of the Mosque quickly subdued the man until police arrived,” police said in a statement.
Investigators were considering “all possible motivations, including hate-motivation” for the assault, which appeared to be an “isolated incident,” police said. Charges were pending.
Police will remain “in the area to offer reassurance to the community and the Mosque and provide additional support,” the statement said.
Mississauga is about 15 miles southwest of Toronto in the province of Ontario.
Worshipers at Canadian mosque subdue hatchet-wielding attacker, police say