Sunan an-Nasa'i, Book 25, Hadith 109 (Nasa'i 3199)

It was narrated from 'Abdullah (may Allah be pleased with him) that the Messenger of Allah (ﷺ) commanded that snakes be killed and he said:

"Whoever fears their vengeance is not one of us."