An ant stung a prophet. He ordered a colony of ants to be burned. Allah revealed to him…

Sunan Abu Dawud Book 43 Hadith 494

Sunan Abu Dawud #5266

General Behavior (Kitab Al-Adab) 43:494

Abu Hurairah reported Messenger of Allah (May peace be upon him) as saying :

An ant stung a prophet. He ordered a colony of ants to be burned. Allah revealed to him : because an ant stung you, you have perished a community which glorifies Me.

Chapter: Regarding killing ants

Grade: Sahih (Al-Albani)