Cal. Food & Agric. Code § 31108.3
(a)
(1) Except as provided in subdivision (b), a public animal control agency or shelter, society for the prevention of cruelty to animals shelter, humane society shelter, or rescue group shall not release a dog to an owner seeking to reclaim it, or adopt out, sell, or give away a dog to a new owner, unless either of the following conditions is met:
(b)
(c)