Here we will see Section 4 of The Hindu Succession Act.
Overriding effect of Act.―
(1) Save as otherwise expressly provided in this Act,―
(a) any text, rule or interpretation of Hindu law or any custom or usage as part of that law in force immediately before the commencement of this Act shall cease to have effect with respect to any matter for which provision is made in this Act;
(b) any other law in force immediately before the commencement of this Act shall cease to apply to Hindus in so far as it is inconsistent with any of the provisions contained in this Act.
***** Omitted by Act 39 of 2005, s. 2 (w.e.f. 9–9–2005)