He said several people were hurt, mostly police who were providing security outside the mosque.