Sunan an-Nasa'i, Book 42, Hadith 96 (Nasa'i 4368)

Was narrated from Abu Hurairah from the Messenger of Allah:

"An ant bit one of the prophets, and he ordered that the ant nest be burned. Then Allah revealed to him: "One ant bit you, and you destroyed one of the nations that glorify Allah."