Abu Hurairah reported the Apostle of Allaahﷺ as saying There are five(creatures) the killing of which is lawful in the sacred territory. The Snake, the Scorpion, the Kite, the Rat and the biting Dog.
The Prophet Muhammad ﷺ taught us that we should not take life lightly and should only do so when absolutely necessary for our safety or for the safety of others around us. We must also respect and protect places which have been deemed as holy by God Almighty as they are special places where we can seek refuge from worldly matters and connect with our Creator more deeply.