Section 24. And be it further enacted by the authority aforesaid, That every person keeping a boarding or lodging house in the city of Philadelphia, the district of Southwark, or the townships of the Northern Liberties, Moyamensing or Penn, between the first day of June and the fifteenth day of October in any year, shall, withing twelve hours after any seafaring man or sojourner shall become sick in such boarding or lodging house, report in writing the name of such diseased person to the health officer; and no master of a vessel or other person whatsoever shall remove any sick person from any vessel lying in the river Delaware, before the city of Philadelphia, the district of Southwark, or the townships of the Northern Liberties, before such sick person has been visited by the port physician, and a written permit granted by him for the purpose of such removal. And any person neglecting or refusing to comply with the provisions of this section, shall, on legal conviction thereof, be subject to a fine not exceeding fifty dollars, or to imprisonment for any term not exceeding three months, and no person shall hereafter be subject to be punished by imprisonment by virtue of this act, without a previous conviction in due course of law: Provided, That nothing herein contained shall be construed to prevent the board of health from temporarily confining any person within the Lazaretto bounds, for such time as the said board may deem necessary for the safety of the public.