(3)Any person 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 unless he is released earlier on giving bail or if his true name and address are ascertained on executing a bond without sureties for his appearance before the Magistrate having jurisdiction to try him for the offence.