QUEBEC, Jan 29 (Reuters) - The shooting at a Quebec mosque during Sunday night prays which reportedly killed five people was a "terrorist attack on Muslims", said Canadian Prime Minister Justin Trudeau.

"We condemn this terrorist attack on Muslims in a centre of worship and refuge," Trudeau said in a statement.

Five people were killed after gunmen opened fire in a Quebec City mosque, the mosque's president told reporters on Sunday. A witness told Reuters that up to three gunmen fired on about 40 people inside the Quebec City Islamic Cultural Centre.

(Reporting by David Ljunggre in Ottawa; Editing by Michael Perry)

Our Standards: The Thomson Reuters Trust Principles.