23. (1) The Court of a Chief Judicial Magistrate may pass any sentence authorised by law except a sentence of death or of imprisonment for life or of imprisonment for a term exceeding seven years.
(2) The Court of a Magistrate of the first class may pass a sentence of imprisonment for a term not exceeding three years, or of fine not exceeding fifty thousand rupees, or of both, or of community service.
(3) The Court of Magistrate of the second class may pass a sentence of imprisonment for a term not exceeding one year, or of fine not exceeding ten thousand rupees, or of both, or of community service.
Explanation.-"Community service" shall mean the work which the Court may order a convict to perform as a form of punishment that benefits the community, for which he shall not be entitled to any remuneration.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 21 Courts by which offences are triable
Section 22 Sentences which High Courts and Sessions Judges may pass
Section 23 Sentences which Magistrates may pass
Section 24 Sentence of imprisonment in default of fine
Section 25 Sentence in cases of conviction of several offences at one trial
Section 26 Mode of conferring powers
Section 27 Powers of officers appointed
Section 28 Withdrawal of powers
Section 29 Powers of Judges and Magistrates exercisable by their successors-inoffice