If any convict sentenced to confinement to hard labor or solitary imprisonment shall, at the time of his sentence, be in custody of the sheriff on civil process, mesne or final, the sheriff shall, on the delivery of such convict to the commissioner of corrections, leave with the commissioner of corrections an attested copy of such process.
RSA 622:17
RS 227:17. CS 242:17. GS 270:18. GL 288:18. PS 285:18. PL 400 :19. RL 464:18.