Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever kills a snake, it is as though he has killed an idolater whose blood had become lawful."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10073