51. (1) A Magistrate's Court issuing a warrant for the arrest of any person may in the case of any non-bailable offence and shall in the case of a bailable offence direct by endorsement on the warrant that if such person executes a bond with sufficient sureties for his attendance before the court at a specified time and thereafter until otherwise directed by the court, the officer to whom the warrant is directed shall take such security and shall release such person from custody.
(2) The endorsement shall state-
(a) the number of sureties;
(b) the amount in which they and the person for whose arrest the warrant is issued are to be respectively bound; .
(c) the day and the hour at which he is to attend before the court.
(3) Whenever security is taken under this section the officer to whom the warrant is directed shall forward the bond to the court.
52.
court shall ordinarily be directed to the Fiscal of that court and may be executed by the Fiscal and peace officers within the limits of their several and respective jurisdictions or in any part of Sri Lanka by any police officer.
(2) The court issuing the warrant may direct it to any other person or persons by name or office and such person or persons or any police officer may execute the same.
(3) When the warrant is directed to a peace officer by name it shall not be executed by another peace officer unless endorsed to him by name. *Court may direct security to be taken.* *whom directed.* (4) When the warrant is directed to more persons than one it may be executed by all or any one or more of them.