Any sheriff who connives at the commission of the offense prohibited by Section 12-16-87 by any constable, bailiff or deputy sheriff shall, on conviction, be imprisoned in the penitentiary for not less than two nor more than five years.
Ala. Code § 12-16-88 (1975)