Section 33 of Penal Code CAP 63: Security for keeping the peace
A person convicted of an offence not punishable with death may, instead of, or in addition to, any punishment to which he is liable, be ordered to enter into his own recognizance, with or without sureties, in such amount as the court thinks fit, conditioned that he shall keep the peace and be of good behaviour for a time to be fixed by the court, and may be ordered to be imprisoned until such recognizance, with sureties, if so directed, is entered into; but so that the imprisonment for not entering into the recognizance shall not extend for a term longer than one year, and shall not, together with the fixed term of imprisonment, if any, extend for a term longer than the longest term for which he might be sentenced to be imprisoned without fine.
Check the current authoritative text and amendment history before relying on this provision.