Musnad Ahmad 4004
Grading supplied with this record: lts isnad is saheeh, al-Bukhari (3317)]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated that Abdullah said:
We were with the Messenger of Allah (ﷺ) in a cave and (the soorah) "By the winds (or angels or the Messengers of Allah) sent forth one after another” (al-Mursalat 77:1] was revealed; we learned it from his lips. Then a snake came out of its hole, and we rushed to kill it but it got away from us and entered its hole. Then he said: "It was protected from your evil as you were protected from its evil.”
Full reference and source
Musnad Ahmad 4004 Arabic/English book : Book 26, Hadith 4004
View source on Sunnah.com (opens in a new tab)