(16) باب خَمْسٌ مِنَ الدَّوَابِّ فَوَاسِقُ يُقْتَلْنَ فِي الْحَرَمِ
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Once while a prophet amongst the prophets was taking a rest underneath a tree, an ant bit him. He, therefore, ordered that his luggage be taken away from underneath that tree and then ordered that the dwelling place of the ants should be set on fire. Allah sent him a revelation:-- "Wouldn't it have been sufficient to burn a single ant? (that bit you): (See Page 162, chapter No. 153).
Reference: Sahih al-Bukhari 3319
In-book reference: Book 59, Hadith 125
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 54, Hadith 536