Section 359(4) in Bharatiya Nagarik Suraksha Sanhita, 2023
(4)(a) When the person who would otherwise be competent to compound an offence under this section is a child or of unsound mind, any person competent to contract on his behalf may, with the permission of the Court, compound such offence;(b) When the person who would otherwise be competent to compound an offence under this section is dead, the legal representative, as defined in the Code of Civil Procedure, 1908 of such person may, with the consent of the Court, compound such offence.