Cal. Food & Agric. Code § 30520
(d) A public animal control agency or shelter, society for the prevention of cruelty to animals shelter, humane society shelter, or rescue group may transfer to a new owner a dog that has not been spayed or neutered only if the animal shelter does both of the following: