Hazrat Tawus was asked, "What is the ruling on killing an ant in the Haram?" He replied, "If it causes you harm, then there is no problem."