Section 164(5A) in The Code of Criminal Procedure, 1973
(5A)[ (a) In cases punishable under section 354, section 354A, section 354B, section 354C, section 354D, sub-section (1) or sub-section (2) of section 376, [section 376A, section 376AB, section 376B, section 376C, section 376D, section 376DA, section 376DB,] [Inserted by Criminal Law (Amendment) Act, 2013 ] section 376E or section 509 of the Indian Penal Code, the Judicial Magistrate shall record the statement of the person against whom such offence has been committed in the manner prescribed in sub-section (5), as soon as the commission of the offence is brought to the notice of the police:Provided that if the person making the statement is temporarily or permanently mentally or physically disabled, the Magistrate shall take the assistance of an interpreter or a special educator in recording the statement:Provided further that if the person making the statement is temporarily or permanently mentally or physically disabled, the statement made by the person, with the assistance of an interpreter or a special educator, shall be video-graphed.(b)A statement recorded under clause (a) of a person, who is temporarily or permanently mentally or physically disabled, shall be considered a statement in lieu of examination-in-chief, as specified in section 137 of the Indian Evidence Act, 1872 such that the maker of the statement can be cross-examined on such statement, without the need for recording the same at the time of trial.]