Okla. Stat. tit. 22, § 181
The defendant must, in all cases, be taken before the magistrate without unnecessary delay.
R.L. 1910, § 5639.