The Code of Criminal Procedure, 1973 (CrPc)
359. Order to pay costs in non-cognizable cases
(1) Whenever any complaint of a non-cognizable offence is made to a court, the court, if it convicts the accused, may in addition to penalty imposed upon him, order him to pay to the complainant, in whole or in part, the cost incurred by him in the prosecution, and may further order that in default of payment, the accused shall suffer simple imprisonment for a period not exceeding thirty days and such costs may include any expenses incurred in respect of’ process-fees witnesses and pleader’s fees which the court may consider reasonable.
(2) An order under this section may also be made by an Appellate Court or by the High Court or Court of Session when exercising its powers of revision.