It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) (Ikrimah (may Allah have mercy on him) said: "To my knowledge, he narrated this hadith only as marfu' (attributed to the Prophet (peace and blessings be upon him))") that the Prophet (peace and blessings be upon him) used to order the killing of snakes and would say: "Whoever leaves snakes alone (out of fear of them or fear of their revenge) is not one of us." The narrator said: Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: "The jann (snake) is the transformed form of the jinn, just as some of the Children of Israel were transformed into monkeys."
These are the words of Imam Ahmad's (may Allah have mercy on him) narration.
And in the narration of Ishaq (may Allah have mercy on him): "He narrated this hadith as marfu' (attributed to the Prophet (peace and blessings be upon him)): that he (peace and blessings be upon him) used to order the killing of snakes and would say: Whoever leaves them alone out of fear or fear of revenge (is not one of us)," and the rest of the hadith is like it.
Abu Hatim al-Busti (may Allah have mercy on him) narrated from Abdullah bin Ahmad bin Musa (may Allah have mercy on him), from Abu Kamil al-Jahdari (may Allah have mercy on him), from Abd al-Aziz bin al-Mukhtar (may Allah have mercy on him), from Khalid al-Hadhdha' (may Allah have mercy on him), from Ikrimah (may Allah have mercy on him), from Sayyiduna Ibn Abbas (may Allah be pleased with them both), that the Prophet (peace and blessings be upon him) said: "Snakes are the transformed form of the jinn, just as (some people) were transformed into swine and monkeys." This narration will come, InshAllah, in the narrations of Khalid from Ikrimah.
Related hadith on this topic