“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?’” Another chain reports a similar hadith.
عَنْ نَبِيِّ اللَّهِ ﷺ قَالَ إِنَّ نَبِيًّا مِنَ الأَنْبِيَاءِ قَرَصَتْهُ نَمْلَةٌ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ ﷻ إِلَيْهِ فِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى حَدَّثَنَا أَبُو صَالِحٍ حَدَّثَنِي اللَّيْثُ عَنْ يُونُسَ عَنِ ابْنِ شِهَابٍ بِإِسْنَادِهِ نَحْوَهُ وَقَالَ قَرَصَتْ