"Narrated Nafi: Ibn 'Umar used to kill all kinds of snakes until Abu Lubaba Al-Badri told him that the Prophet had forbidden the killing of harmless snakes living in houses and called Jinan. So Ibn 'Umar gave up killing them."
January 1, 1970
https://en.wikiquote.org/wiki/Animals_in_Islam