law: Railways Act, 1989
  179. Arrest for offences under certain sections. 
  (1) If a person commits any offence mentioned in sections 137,
  
  141 to 147, 150 to 157, 160 to 162, 164, 166, 168 and 172 to 175, he may be
  
  arrested without warrant or other written authority by any railway servant or
  
  police officer not below the rank of a head constable.
  (2) The railway servant or the police officer may call to his
  
  aid any other person to effect the arrest under sub-section (1).
  (3) 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.