Malik related to me from Nafi from Abu Lubaba that the Messenger of Allah, may Allah bless him and grant him peace, forbade killing snakes which were in the houses.
Muwatta Malik Book 54, Hadith 31