Hadith 8:629
Abu Bakr narrated to us, he said: Waki' narrated to us, from Ibrahim ibn Rafi', he said: I asked Tawus about killing ants in the Haram. He said: "If it harms you, then there is no harm in it."
حدثنا أبو بكر قال حدثنا وكيع عن إبراهيم بن رافع قال سألت طاوسا عن قتل الذر في الحرم فقال إذا أذاك فلا بأس به