Section 374(2) in Bharatiya Nagarik Suraksha Sanhita, 2023
(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.