Any locality that maintains or supports, in whole or in part, a public or private animal shelter may by ordinance provide that no person who acquires an animal from such shelter shall be able to sell the animal within a period of six months from the time the animal is acquired from the shelter. Violation of the ordinance is a Class 1 misdemeanor.
Va. Code § 3.2-6545