"One of the prophets stopped beneath a tree and an ant bit him, so he gave instructions that their nest be burned with all the ants inside it. Then Allah revealed to him" 'Why did you not punish just one ant?" Al-Ash' ath said: "A similar report was narrated from Ibn Sirin, from Abu Hurairah, from the Prophet, in which were added the words: 'for they glorify Allah."
Reference: Sunan an-Nasa'i 4359 In-book : Book 42, Hadith 97 English translation : Vol. 5, Book 42, Hadith 4364
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.