Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5256Musaddad > Yaḥyá > Muḥammad b. Abū Yaḥyá from my father

Muhammad ibn AbuYahya said that his father told that he and his companion went to AbuSa'id al-Khudri to pay a sick visit to him. He said: Then we came out from him and met a companion of ours who wanted to go to him. We went ahead and sat in the mosque. He then came back and told us that he heard AbuSa'id al-Khudri say: The Messenger of Allah ﷺ said: Some snakes are jinn; so when anyone sees one of them in his house, he should give it a warning three times. If it return (after that), he should kill it, for it is a devil.  

أبو داود:٥٢٥٦حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا يَحْيَى عَنْ مُحَمَّدِ بْنِ أَبِي يَحْيَى قَالَ حَدَّثَنِي أَبِي

أَنَّهُ انْطَلَقَ هُوَ وَصَاحِبٌ لَهُ إِلَى أَبِي سَعِيدٍ يَعُودَانِهِ فَخَرَجْنَا مِنْ عِنْدِهِ فَلَقِينَا صَاحِبًا لَنَا وَهُوَ يُرِيدُ أَنْ يَدْخُلَ عَلَيْهِ فَأَقْبَلْنَا نَحْنُ فَجَلَسْنَا فِي الْمَسْجِدِ فَجَاءَ فَأَخْبَرَنَا أَنَّهُ سَمِعَ أَبَا سَعِيدٍ الْخُدْرِيَّ يَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ الْهَوَامَّ مِنَ الْجِنِّ فَمَنْ رَأَى فِي بَيْتِهِ شَيْئًا فَلْيُحَرِّجْ عَلَيْهِ ثَلاَثَ مَرَّاتٍ فَإِنْ عَادَ فَلْيَقْتُلْهُ فَإِنَّهُ شَيْطَانٌ