Any person who is discovered by a police officer in the act of violating section seven, eight, nine, twelve, sixteen, seventeen, seventeen A, eighteen or twenty-two, while such officer is lawfully at or within the place where such violation occurred, may be arrested without a warrant by such police officer, and held in custody, in jail or otherwise, until a complaint be made against him for such offense, unless previously admitted to bail, which complaint shall be made as soon as practicable and in any case within twenty-four hours, Sundays and legal holidays excepted.
Mass. Gen. Laws ch. 271, § 10A