Sunan an-Nasa'i 4358
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَنَّ نَمْلَةً قَرَصَتْ نَبِيًّا مِنَ الأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ عَزَّ وَجَلَّ إِلَيْهِ أَنْ قَدْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ "
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."
Full reference and source
Sunan an-Nasa'i 4358 In-book : Book 42, Hadith 96 English translation : Vol. 5, Book 42, Hadith 4363
View source on Sunnah.com (opens in a new tab)