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.
tabarani:10152Aḥmad b. Zuhayr al-Tustarī > Aḥmad b. Muḥammad b. Yaḥyá b. Saʿīd al-Qaṭṭān > Yazīd b. Hārūn > al-Masʿūdī > al-Aʿmash > Abū Wāʾil > ʿAbdullāh

[Machine] "We were with the Prophet ﷺ in a cave when a snake came out. He said, 'Kill it.' But it was faster than us and he said, 'Your evil has been warded off, just as its evil has been warded off.'"  

الطبراني:١٠١٥٢حَدَّثَنَا أَحْمَدُ بْنُ زُهَيْرٍ التُّسْتَرِيُّ ثنا أَحْمَدُ بْنُ مُحَمَّدِ بْنِ يَحْيَى بْنِ سَعِيدٍ الْقَطَّانُ ثنا يَزِيدُ بْنُ هَارُونَ ثنا الْمَسْعُودِيُّ عَنِ الْأَعْمَشِ عَنْ أَبِي وَائِلٍ عَنْ عَبْدِ اللهِ قَالَ

كُنَّا مَعَ النَّبِيِّ ﷺ فِي غَارٍ فَخَرَجَتْ حَيَّةٌ فَقَالَ «اقْتُلُوهَا» فَسَبَقَتْنَا وَقَالَ «وُقِيَتْ شَرَّكُمْ كَمَا وُقِيتُمْ شَرَّهَا»  


See similar narrations below:

Collected by Bukhārī, Aḥmad
bukhari:4930Maḥmūd > ʿUbaydullāh > Isrāʾīl > Manṣūr > Ibrāhīm > ʿAlqamah > ʿAbdullāh

We were with the Prophet ﷺ when Surat Wal-Mursalat was revealed to him. While we were receiving it from his mouth, a snake suddenly came and we ran to kill it, but it outstripped us and entered its hole quickly. Allah's le said, "It has escaped your evil, and you too, have escaped its evil."  

البخاري:٤٩٣٠حَدَّثَنِي مَحْمُودٌ حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ إِسْرَائِيلَ عَنْ مَنْصُورٍ عَنْ إِبْرَاهِيمَ عَنْ عَلْقَمَةَ عَنْ عَبْدِ اللَّهِ ؓ قَالَ

كُنَّا مَعَ رَسُولِ اللَّهِ ﷺ وَأُنْزِلَتْ عَلَيْهِ وَالْمُرْسَلاَتِ وَإِنَّا لَنَتَلَقَّاهَا مِنْ فِيهِ فَخَرَجَتْ حَيَّةٌ فَابْتَدَرْنَاهَا فَسَبَقَتْنَا فَدَخَلَتْ جُحْرَهَا فَقَالَ رَسُولُ اللَّهِ ﷺ وُقِيَتْ شَرَّكُمْ كَمَا وُقِيتُمْ شَرَّهَا  

ahmad:4063Ḥajjāj > Sufyān > Manṣūr > Ibrāhīm > ʿAlqamah > Ibn Masʿūd

[Machine] "We were with the Messenger of Allah ﷺ in a cave when the Surahs were revealed to him and the messengers were recognized. So we would receive them from him. Then a snake came out from the side of the cave, so he commanded us to kill it. We rushed towards it, but it preceded us, and he said, 'It is protected from your harm just as you are protected from its harm.'"  

أحمد:٤٠٦٣حَدَّثَنَا حَجَّاجٌ حَدَّثَنَا سُفْيَانُ حَدَّثَنَا مَنْصُورٌ عَنْ إِبْرَاهِيمَ عَنْ عَلْقَمَةَ عَنْ ابْنِ مَسْعُودٍ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ فِي غَارٍ فَأُنْزِلَتْ عَلَيْهِ وَالْمُرْسَلَاتِ عُرْفًا فَجَعَلْنَا نَتَلَقَّاهَا مِنْهُ فَخَرَجَتْ حَيَّةٌ مِنْ جَانِبِ الْغَارِ فَقَالَ اقْتُلُوهَا فَتَبَادَرْنَاهَا فَسَبَقَتْنَا فَقَالَ إِنَّهَا وُقِيَتْ شَرَّكُمْ كَمَا وُقِيتُمْ شَرَّهَا  

ahmad:4068Aswad b. ʿĀmir > Isrāʾīl > al-Aʿmash And Manṣūr > Ibrāhīm > ʿAlqamah > ʿAbdullāh

[Machine] "We were with the Messenger of Allah ﷺ in the cave when a snake appeared before us. We tried to catch it, but it was faster than us and entered the hole. The Prophet ﷺ said, 'You were saved from its harm as it was saved from your harm.'"  

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

كُنَّا مَعَ رَسُولِ اللهِ ﷺ فِي الْغَارِ فَخَرَجَتْ عَلَيْنَا حَيَّةٌ فَتَبَادَرْنَاهَا فَسَبَقَتْنَا فَدَخَلَتِ الْجُحْرَ فَقَالَ النَّبِيُّ ﷺ وُقِيَتْ شَرَّكُمْ كَمَا وُقِيتُمْ شَرَّهَا