D.C. Mun. Regs. tit. 24, § 904
904.1 No bees or hives of bees shall be permitted to be kept when there are human habitations within a radius of five hundred feet (500 ft.).
904.2 The provisions of this section shall not apply to bees confined in hives, or to bees kept on property that is enclosed so that the bees cannot stray from the property.
SOURCE: Article 18, §14 of the Police Regulations (May 1981).