We were sitting in the Mosque of Khayf on the night before the Day of Arafah when we heard the rustling of a snake. The Messenger of Allah ﷺ said, "Kill it!"We got up, but it slipped into a crack in a hole. A palm branch was brought and set on fire, and we took a stick and dug away part of the hole, but we could not find it. The Messenger of Allah ﷺ said, "Leave it. Allah has protected it from your harm just as He has protected you from its harm."
حدثنا يحيى عن ابن جريج قال أخبرني أبو الزبير أن مجاهدا أخبره أن
كنا جلوسا في مسجد الخيف ليلة عرفة قبل يوم عرفة إذ سمعنا حس الحية فقال رسول الله ﷺ اقتلوا قال فقمنا قال فدخلت شق جحر فأتي بسعفة فأضرم فيها نارا وأخذنا عودا فقلعنا عنها بعض الجحر فلم نجدها فقال رسول الله ﷺ دعوها وقاها الله شركم كما وقاكم شرها