'A'isha reported that Allah's Messenger (ﷺ) commanded the killing of a snake having stripes over it, for it affects eyesight and miscarries pregnancy.
Sahih Muslim Book 39, Hadith 175