No person who shall be delivered or set at large upon any writ of habeas corpus shall, at any time, be again imprisoned or committed for the same offense by any person whatsoever, other than by the legal order and process of such court wherein he shall be bound by recognizance to appear or other court having jurisdiction of the cause. If any other person shall knowingly, contrary to this chapter, recommit or imprison or knowingly procure or cause to be recommitted or imprisoned for the same offense or pretended offense any person delivered or set at large, as aforesaid, or be knowingly aiding or assisting therein, then he shall forfeit to the prisoner or person grieved the sum of two thousand five hundred dollars, any colorable pretense or variation in the warrant of commitment notwithstanding, to be recovered as provided in Section 17-17-180.
S.C. Code § 17-17-150