Malaysia legislation
Section 29
Section 29
An Officer in Charge shall keep and detain a person duly committed to his custody by a court or competent authority according to the terms of the warrant or order by which the person has been committed or until the person is discharged by due course of law.