An ant stung a prophet. He ordered a colony of ants to be burned. Allah revealed to him : because an ant stung you, you have perished a community which glorifies Me. (Using translation from Abū Dāʾūd 5266)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ قَرَصَتْ نَمْلَةٌ نَبِيًّا مِنَ الْأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى الله ﷻ إِلَيْهِ فِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الْأُمَمِ تُسَبِّحُ