Section 18(1) in The Juvenile Justice (Care and Protection of Children) Act, 2000
(1)Notwithstanding anything contained in section 223of the Code of Criminal Procedure, 1973 (2 of 1974) or in any other law for the time being in force, no juvenile shall be charged with or tried for any offence together with a person who is not a juvenile.