Section 277(2) in Bharatiya Nagarik Suraksha Sanhita, 2023
(2)The Magistrate may, if he thinks fit, on the application of the prosecution or the accused, issue a summons to any witness directing him to attend or to produce any document or other thing.