Okla. Stat. tit. 21, § 533
Every officer who, in violation of a duty imposed upon him by law as such officer to receive into his custody any person as a prisoner, willfully neglects or refuses so to receive such person into his custody, is guilty of a misdemeanor.
R.L. 1910, § 2245.