Malaysia legislation
Section 198
of *SYARIAH CRIMINAL PROCEDURE (FEDERAL TERRITORIES) ACT 1997
Section 198
When any person is required by any Court or officer to execute a bond, such Court or officer may, except in the case of a bond for good behaviour, permit him to deposit a sum of money to such amount as the Court may fix, in lieu of executing such bond.