71. Whoever has been previously convicted of an offence punishable under section 64 or section 65 or section 66 or section 70 and is subsequently convicted of an offence punishable under any of the said sections shall be punished with imprisonment for life which shall mean imprisonment for the remainder of that person’s natural life, or with death.
Bharatiya Nyaya Sanhita, 2023
Section 71: Punishment for repeat offenders
Chapter V — Of Offences Against Woman and Child
Source: official text of the Bharatiya Nyaya Sanhita, 2023 (Ministry of Home Affairs).