Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates this statement of the Noble Prophet (peace and blessings be upon him): "Snakes are a deformed form of jinn, just as pigs and monkeys are deformed (creatures)."
Hadith Referenceصحیح ابن حبان / كتاب الحظر والإباحة / 5640
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (1824).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح