It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him): We were with the Messenger of Allah (peace and blessings be upon him) in a cave when Surah "By those sent forth in succession" (al-Mursalat) was revealed to him (peace and blessings be upon him). We began learning it directly from his (peace and blessings be upon him) blessed mouth, and his blessed tongue was still moist with its recitation, when suddenly a snake appeared. The Messenger of Allah (peace and blessings be upon him) ordered: "Kill it." The narrator says: We rushed towards it to kill it, but it escaped before we could reach it. At this the Messenger of Allah (peace and blessings be upon him) said: "It was protected from your harm, and you were protected from its harm."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عبد الله بن مسعود / 5158
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده صحيح . » «قال سعيد بن محمد السناري: صحيح: مضى الكلام عليه [برقم 4970]» «أخرجه صحيح البخاري برقم: 4647، وأخرجه صحيح مسلم برقم: 2234، وأخرجه سنن النسائي برقم: 2883، 2884، وأخرجه مسند أحمد برقم: 3564، 3994، 4053، 4057، 4323، 4344، 4364، 4390، وأخرجه فتح الباري برقم: 1733، 4650، وأخرجه مسند البزار برقم: 1477، 1521، 1562، 1619، 1620، 1826، 1838، وأخرجه المستدرك على الصحيحين برقم: 1709، 3048، وأخرجه صحيح ابن خزيمة برقم: 2668، وأخرجه المعجم الكبير للطبراني برقم: 10148، 10149، 10150، 10151، 10152، 10153، 10154، 10155، 10156، 10157، 10158، مسند ابویعلیٰ ترقیم الاثری: 5136»