From Sahih Bukhari (Hadith 4930):
Narrated `Abdullah: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
Reference: Bukhari 4930