N.M. Stat. § 33-3-12
Commitments to be furnished; orders of release; penalty.
A. Every public officer who has power to order the imprisonment of any person for
violation of law shall, on making such order, transmit to the sheriff, jail administrator or
independent contractor of his respective county a true copy of the order so that the
person imprisoned may be considered under his custody until expiration of the
commitment or until further steps, as provided by law, are taken to obtain the prisoner's
liberty, of which he shall, in due time, notify the sheriff, jail administrator or independent
contractor in writing.
B. Any jailer who deliberately and knowingly releases a prisoner without an order of
release as provided in this section, except upon expiration of the prisoner's term of
commitment, is guilty of a misdemeanor and shall be removed from office.