The theorem on the magnetic field of rotating charged bodies