Persons arrested under either of the two preceding sections shall be kept in jail or other convenient place not more than twenty-four hours, Sundays and legal holidays excepted, at or before the expiration of which time they shall be taken before a district court and proceeded against according to law.
Mass. Gen. Laws ch. 272, § 90