It shall be unlawful for the chief of police or any police officer or any other person connected with the police department to solicit legal business for either the defense or prosecution of any case pending or which may be filed in any court, or to urge, recommend or suggest to any person, whether in legal detention or not, that any particular person practicing law should or should not be employed for the defense or prosecution of such person or any other person.
(1953 Code, ch. 18, ยง 22)