374. (1) Whenever the finding states that the accused person committed the act alleged, the Magistrate or Court before whom or which the trial has been held, shall, if such act would, but for the incapacity found, have constituted an offence,-
(a) order such person to be detained in safe custody in such place and manner as the Magistrate or Court thinks fit; or
(b) order such person to be delivered to any relative or friend of such person.
(2) No order for the detention of the accused in a public mental health establishment shall be made under clause (a) of sub-section (1) otherwise than in accordance with such rules as the State Government may have made under the Mental Healthcare Act, 2017.
(3) No order for the delivery of the accused to a relative or friend shall be made under clause (b) of sub-section (1) except upon the application of such relative or friend and on his giving security to the satisfaction of the Magistrate or Court that the person delivered shall-
(a) be properly taken care of and prevented from doing injury to himself or
to
any other person;
(b) be produced for the inspection of such officer, and at such times and places, as the State Government may direct.
(4) The Magistrate or Court shall report to the State Government the action taken under sub-section (1).
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 371 Procedure on accused appearing before Magistrate or Court
Section 372 When accused appears to have been of sound mind
Section 373 Judgment of acquittal on ground of unsoundness of mind
Section 374 Person acquitted on ground of unsoundness of mind to be detained in safe custody
Section 375 Power of State Government to empower officer in charge to discharge
Section 376 Procedure where prisoner of unsound mind is reported capable of making his defence
Section 377 Procedure where person of unsound mind detained is declared fit to be released
Section 378 Delivery of person of unsound mind to care of relative or friend