Hadith 5250
Narrated Abdullah ibn Abbas: The Prophet ﷺ said: He who leaves the snakes along through fear of their pursuit, does not belong to us. We have not made peace with them since we have fought with them.
Hadith 5251
Narrated Al-Abbas ibn Abdul Muttalib: Al-Abbas said to the Messenger of Allah ﷺ: We wish to sweep out Zamzam, but in it there are some of these Jinnan, meaning small snakes; so the Messenger of Allah ﷺ ordered that they should be killed.