Section 117 in The Code of Criminal Procedure

Title: Order to give security

Description: If, upon such inquiry, it is proved that it is necessary for keeping the peace or maintaining good behaviour, as the case may be, that the person in respect of whom the inquiry is made should execute a bond, with or without sureties, the Magistrate shall make an order accordingly: Provided that-- (a) no person shall be ordered to give security of a nature different from, or of an amount larger than, or for a period longer than, that specified in the order made under section 111; (b) the amount of every bond shall be fixed with due regard to the circumstances of the case and shall not be excessive; (c) when the person in respect of whom the inquiry is made is a minor, the bond shall be executed only by his sureties.

Title: Discharge of person informed against

Description: If, on an inquiry under section 116, it is not proved that it is necessary for keeping the peace or maintaining good behaviour, as the case may be, that the person in respect of whom the inquiry is made, should execute a bond, the Magistrate shall make an entry on the record to that effect, and if such person is in custody only for the purposes of the inquiry, shall release him, or, if such person is not in custody, shall discharge him.

Title: Commencement of period for which security is required

Description: (1) If any person, in respect of whom an order requiring security is made under section 106 or section 117, is at the time such order is made, sentenced to, or undergoing a sentence of, imprisonment, the period for which such security is required shall commence on the expiration of such sentence. (2) In other cases such period shall commence on the date of such order unless the Magistrate, for sufficient reason, fixes a later date.

Title: Contents of bond

Description: The bond to be executed by any such person shall bind him to keep the peace or to be of good behaviour, as the case may be, and in the latter case the commission or attempt to commit, or the abetment of, any offence punishable with imprisonment, wherever it may be committed, is a breach of the bond.

Title: Power to reject sureties

Description: (1) A Magistrate may refuse to accept any surety offered, or may reject any surety previously accepted by him or his predecessor under this Chapter on the ground that such surety is an unfit person for the purposes of the bond: Provided that, before so refusing to accept or rejecting any such surety, he shall either himself hold an inquiry on oath into the fitness of the surety, or cause such inquiry to be held and a report to be made thereon by a Magistrate subordinate to him. (2) Such Magistrate shall, before holding the inquiry, give reasonable notice to the surety and to the person by whom the surety was offered and shall, in making the inquiry, record the substance of the evidence adduced before him. (3) If the Magistrate is satisfied, after considering the evidence so adduced either before him or before a Magistrate deputed under sub-section (1), and the report of such Magistrate (if any), that the surety is an unfit person for the purposes of the bond, he shall make an order refusing to accept or rejecting, as the case may be, such surety and recording his reasons for so doing: Provided that, before making an order rejecting any surety who has previously been accepted, the Magistrate shall issue his summons or warrant, as he thinks fit, and cause the person for whom the surety is bound to appear or to be brought before him.

CHAPTER 8 SECURITY FOR KEEPING THE PEACE AND FOR GOOD BEHAVIOUR