It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Kill snakes; kill the one with two stripes and the short-tailed snake, for these two target the eyesight and cause miscarriage. So whoever does not kill them is not one of us."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13148