When any convict shall be sentenced to imprisonment in the state prison, the clerk of the court before whom such conviction was had, shall make out a warrant, under the seal of the court, directed to the sheriff of the county, requiring him to cause such convict, without needless delay, to be removed from the county jail to the state prison, which warrant shall be delivered to such sheriff and be obeyed by him and shall be accompanied by a certified abstract from the minutes of the court, of such conviction and sentence as aforesaid.
MCL 769.17