If a person makes oath before a district court that he has probable cause to suspect that a house, building, room or place is kept or resorted to for prostitution and that a certain person owning or having or assisting in the management or control of such house, building, room or place knowingly suffers another person to be in or upon such place for the purpose of unlawfully having sexual intercourse, said court shall, if satisfied that there is probable cause thereof, issue a warrant commanding the sheriff or his deputy, or any constable or police officer, to enter such house, building, room or place and search for such owner or person in control, and take into custody both the owner or person in control and such other person as may be in or upon such place for such purpose. Said owner or person in control shall be detained for not more than twenty-four hours until complaint may be made against him, and any such other person for a reasonable time until brought before said court to be recognized with or without sureties at the discretion of said court to appear as witnesses before the next or any succeeding sitting of said court. This section shall be in addition to and not in derogation of the common law.
Mass. Gen. Laws ch. 272, § 9