Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10068Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Zakariyyā b. Abū Isḥāq > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr > Ibn Wahb > Yūnus b. Yazīd > Ibn Shihāb > Abū Salamah b. ʿAbd al-Raḥman Wasaʿīd b. al-Musayyib > Abū Hurayrah

[Machine] Narrated by the Messenger of Allah ﷺ , that an ant bit one of the prophets, so he ordered for the ant village to be burned. Then, Allah revealed to him, "Are you to destroy an entire nation of ants because one ant bit you while magnifying Me?"  

البيهقي:١٠٠٦٨أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا بَحْرُ بْنُ نَصْرٍ ثنا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ بْنُ يَزِيدَ عَنِ ابْنِ شِهَابٍ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ وَسَعِيدِ بْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللهِ ﷺ أَنَّ النَّمْلَةَ قَرَصَتْ نَبِيًّا مِنَ الْأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللهُ إِلَيْهِ أَفِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الْأُمَمِ تُسَبِّحُ؟  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي الطَّاهِرِ وَحَرْمَلَةَ عَنِ ابْنِ وَهْبٍ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهٍ آخَرَ عَنْ يُونُسَ وَأَخْرَجَاهُ مِنْ حَدِيثِ الْأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ

See similar narrations below:

Collected by Muslim, Nasāʾī, Abū Dāwūd, Ibn Ḥibbān
muslim:2241aAbū al-Ṭāhir And Ḥarmalah b. Yaḥyá > Ibn Wahb > Yūnus > Ibn Shihāb > Saʿīd b. al-Musayyab Waʾabī Salamah b. ʿAbd al-Raḥman > Abū Hurayrah

An ant had bitten a Prophet (one amongst the earlier Prophets) and he ordered that the colony of the ants should be burnt. And Allah revealed to him:" Because of an ant's bite you have burnt a community from amongst the communities which sings My glory."  

مسلم:٢٢٤١aحَدَّثَنِي أَبُو الطَّاهِرِ وَحَرْمَلَةُ بْنُ يَحْيَى قَالاَ أَخْبَرَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ وَأَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ أَنَّ نَمْلَةً قَرَصَتْ نَبِيًّا مِنَ الأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ إِلَيْهِ أَفِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ  

nasai:4358And Hb b. Bayān > Ibn Wahb > Yūnus > Ibn Shihāb > Saʿīd Waʾabī Salamah > Abū Hurayrah

"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."  

النسائي:٤٣٥٨أَخْبَرَنَا وَهْبُ بْنُ بَيَانٍ قَالَ حَدَّثَنَا ابْنُ وَهْبٍ قَالَ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدٍ وَأَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ أَنَّ نَمْلَةً قَرَصَتْ نَبِيًّا مِنَ الأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ ﷻ إِلَيْهِ أَنْ قَدْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ  

abudawud:5266Aḥmad b. Ṣāliḥ > ʿAbdullāh b. Wahb > Yūnus > Ibn Shihāb > Abū Salamah b. ʿAbd al-Raḥman Wasaʿīd b. al-Musayyab > Abū Hurayrah

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.  

أبو داود:٥٢٦٦حَدَّثَنَا أَحْمَدُ بْنُ صَالِحٍ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ وَسَعِيدِ بْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ إِنَّ نَمْلَةً قَرَصَتْ نَبِيًّا مِنَ الأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ إِلَيْهِ فِي أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الأُمَمِ تُسَبِّحُ  

ذِكْرُ الْخَبَرِ الدَّالِّ عَلَى أَنَّهُ لَا يَجِبُ أَنْ يُعَذِّبَ مَخْلُوقٌ بِعَذَابِ اللَّهِ

ibnhibban:5614Muḥammad b. al-Ḥasan b. Qutaybah > Ḥarmalah b. Yaḥyá > Ibn Wahb > Yūnus > Ibn Shihāb > Abū Salamah Wasaʿīd b. al-Musayyib > Abū Hurayrah

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)  

ابن حبّان:٥٦١٤أَخْبَرَنَا مُحَمَّدُ بْنُ الْحَسَنِ بْنِ قُتَيْبَةَ حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى حَدَّثَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ أَبِي سَلَمَةَ وَسَعِيدِ بْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ «أَنَّ نَمْلَةً قَرَصَتْ نَبِيًّا مِنَ الْأَنْبِيَاءِ فَأَمَرَ بِقَرْيَةِ النَّمْلِ فَأُحْرِقَتْ فَأَوْحَى اللَّهُ إِلَيْهِ أَنْ قَرَصَتْكَ نَمْلَةٌ أَهْلَكْتَ أُمَّةً مِنَ الْأُمَمِ تُسَبِّحُ»