Section 567(2) in Uttar Pradesh Municipal Corporation Act, 1959
(2)No person arrested under sub-section (1) shall be detained in custody -(a)after his true name and address are ascertained, or(b)without the order of a Magistrate for any longer time not exceeding twenty-four hours from the hour of arrest, than is necessary for bringing him before a Magistrate.