English : Vol. 4, Book 28, Hadith 3225
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.
إِنَّ نَبِيًّا مِنَ الأَنْبِيَاءِ قَرَصَتْهُ نَمْلَةٌ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ عَزَّ وَجَلَّ إِلَيْهِ فِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ "
It was narrated from Abu Hurairah that the Prophet of Allah (ﷺ) said:
"One of the Prophets was bitten by an ant, so he ordered that the ant colony be burned. Then Allah revealed to him: "Because one ant bit you, you destroy one of the nations that glorify Allah?'"
Full reference and source
English : Vol. 4, Book 28, Hadith 3225 Arabic : Book 28, Hadith 3346
View source on Sunnah.com (opens in a new tab)