The sheriffs of the several counties and their deputies, and the town sergeants, constables, and chiefs of police of the several towns and cities may, within their respective towns and counties, enter any house or building that they have cause to suspect to be inhabited for purposes of prostitution and lewdness, to be resorted to by persons of ill fame or by persons of dissolute, idle, or disorderly character, or in which they have reasonable cause to believe intoxicating liquors are sold in violation of law, or unlawful games are carried on or permitted, or in which they have reasonable cause to believe a common nuisance is kept or maintained. Upon entering the house or building, they may command all persons assembled there to immediately depart from the house or building. In the event of the neglect or refusal of any person so commanded to leave, they may arrest that person and hold him or her for a period not exceeding twenty-four (24) hours for prosecution. Every person who shall so refuse or neglect shall be deemed guilty of a misdemeanor and shall be fined not exceeding twenty dollars ($20.00) or be imprisoned not exceeding thirty (30) days.
R.I. Gen. Laws § 11-30-8