Section 179(4) in The Railways (Second Amendment) Act, 2003
(4)Any person so arrested under this section shall be produced before the nearest Magistrate within a period of twenty- four hours of such arrest excluding the time necessary for the journey from the place of arrest to the court of the Magistrate.".