Maryland Criminal Law Section 11-306
§ 11-306.
  (a)   A person may not knowingly:
    (1)   engage in prostitution or assignation by any means;
    (2)   keep, set up, occupy, maintain, or operate a building, structure, or conveyance for prostitution or assignation;
    (3)   allow a building, structure, or conveyance owned or under the person's control to be used for prostitution or assignation;
    (4)   allow or agree to allow a person into a building, structure, or conveyance for prostitution or assignation; or
    (5)   procure or solicit or offer to procure or solicit for prostitution or assignation.
  (b)   A person who violates this section is guilty of a misdemeanor and on conviction is subject to imprisonment not exceeding 1 year or a fine not exceeding $500 or both.