It shall be one of the duties of an executor or administrator, by virtue of his office, and as such embraced by his official bond, faithfully to pay the rents and profits, or proceeds of sale, of real estate which may lawfully come to his hands or to the hands of any person for him to such persons as are entitled thereto.