عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «كُلُّ ذِي نَابٍ منَ السِّباعِ فأكلُه حرامٌ» . رَوَاهُ مُسلم
Translation
He reported God’s messenger as saying that when a prophet was stung by an ant he ordered a colony of ants to be burned, and God most high revealed to him, "Because an ant stung you you have burned a community which glorifies me." (Bukhari and Muslim.)