See the 1835 Doctrine and Covenants, Section CI (101) here:
https://www.josephsmithpapers.org/paper-summary/doctrine-and-covenants-1835/259