law: The Criminal Procedure (Identification) Act, 2022
  3. Taking of measurement.-
  Any person, who has been,-
  (a) convicted of an offence punishable under any law for the time being in force; or
  (b) ordered to give security for his good behaviour or maintaining peace under section 117 of the Code of Criminal Procedure, 1973 (2 of 1974) for a proceeding under section 107 or section 108 or section 109 or section 110 of the said Code; or
  (c) arrested in connection with an offence punishable under any law for the time being in force or detained under any preventive detention law, shall, if so required, allow his measurement to be taken by a police officer or a prison officer in such manner as may be prescribed by the Central Government or the State Government:
  Provided that any person arrested for an offence committed under any law for the time being in force (except for an offence committed against a woman or a child or for any offence punishable with imprisonment for a period not less than seven years) may not be obliged to allow taking of his biological samples under the provisions of this section.