Killing harmful cats

Q 3: I have hens and there was a cat that used to eat their chicks many times. One day, I brought my shotgun and shot the cat to death. I heard that killing harmful animals is lawful and I do not know what I should do about killing this cat. I appreciate your advice!

A: If the reality is as mentioned, that the cat repeatedly caused you harm, there will be nothing wrong with killing it.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.