No person shall keep any dog which has been known to kill or worry sheep or other stock without being set upon the same. Any person knowingly keeping such dog is liable for double the value of all stock killed or injured by such dog, such damages to be recovered by the owner of such stock before any court of competent jurisdiction and no action shall be maintained against anyone for killing such dog.
Ala. Code § 3-1-1 (1975)