Section 267(1) in Bharatiya Nagarik Suraksha Sanhita, 2023
(1)When, in any warrant-case instituted otherwise than on a police report, the accused appears or is brought before a Magistrate, the Magistrate shall proceed to hear the prosecution and take all such evidence as may be produced in support of the prosecution.