Section 268(2) in Bharatiya Nagarik Suraksha Sanhita, 2023
(2)Nothing in this section shall be deemed to prevent a Magistrate from discharging the accused at any previous stage of the case if, for reasons to be recorded by such Magistrate, he considers the charge to be groundless.[Similar to Section 245 from Old CrPC-Also Refer]