A man was detained Saturday afternoon by police in Poway, California, for a "shooting incident" at a synagogue, the sheriff's department said.