The Book on Salutations and Greetings (Kitab As-Salam)

Muslim :: Book 26 : Hadith 5558

Asma' b. 'Ubaid reported about a person who was called as-Sa'ib having said: We visited Abu Sa'id Khudri. When we had been sitting (with him) we heard a stir under his bed. When we looked we found a big snake, the rest of the hadith is the same. And in this Allah's Messenger (may peace be upon him) is reported to have said: Verily in these houses there live aged (snakes), so when you see one of them, make life hard for it for three days, and if it goes away (well and good), otherwise kill it for (in that case) it would be a nonbeliever. And he (the Holy Prophet) said (to his Companions): Go and bury your companion (who had died by the snake bite).

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star