Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates from Sayyiduna Abu Lubabah (may Allah be pleased with him); he said: The Messenger of Allah (peace and blessings be upon him) forbade killing the snakes that live in houses.
Hadith Referenceالمعجم الكبير للطبراني / باب الراء / 4488