It is narrated from Sayyiduna Abdullah bin Mas’ud (may Allah be pleased with him) that we were sitting in the Mosque of Khaif on the night before the Day of Arafah, when suddenly we sensed the movement of a snake. The Messenger of Allah (peace and blessings be upon him) said: Kill it. We stood up to kill it, but it slipped into a crack in a stone. Then date palm branches were brought and fire was lit in it, then we took a stick and moved the stone a little from its place, but the snake could not be found. The Messenger of Allah (peace and blessings be upon him) said: Now leave it, Allah has saved it from your harm and you from its harm.
Hadith Takhrij«أخرجه البخاري: 1830،، 4931، 4934، ومسلم: 2234، 2235، (انظر مسند أحمد ترقيم الرسالة: ترقیم بيت الأفكار الدولية: 3649»
Brief Explanation
Benefits: … Killing a snake is a legal (shar‘i) ruling, but for the snake, this is nothing less than an evil (sharr) that it is killed; therefore, the Prophet sallallahu alayhi wa sallam said that Allah Ta‘ala has protected the snake from your evil. It is possible that the purpose of lighting a fire is that the snake will come out, but in any case, punishing with fire is prohibited.