Find it out and kill it. Abu Lubaba said: Don't kill them, for Messenger of Allah ﷺ forbade the killing of the snakes found in houses.
أَبُو لُبَابَةَ لاَ تَقْتُلُوهُ فَإِنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ
Find it out and kill it. Abu Lubaba said: Don't kill them, for Messenger of Allah ﷺ forbade the killing of the snakes found in houses.
أَبُو لُبَابَةَ لاَ تَقْتُلُوهُ فَإِنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ
Malik related to me from Nafi from Abu Lubaba that the Messenger of Allah ﷺ forbade killing snakes which were in the houses.
أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْ قَتْلِ الْحَيَّاتِ الَّتِي فِي الْبُيُوتِ
Nafi' reported that Ibn 'Urnar used to kill all types of snakes until Abu Lubaba b. 'Abd al-Mundhir Badri reported that Messenger of Allah ﷺ had forbidden the killing of the snakes of the houses, and so he abstained from it. (Using translation from Muslim 2233e)
«أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ»
[Machine] "The Messenger of Allah, ﷺ , forbade killing the jinn that are in houses."
«نَهَى رَسُولُ اللهِ ﷺ عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ»