Jami` at-Tirmidhi 1485
Grading supplied with this record: Daif (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِذَا ظَهَرَتِ الْحَيَّةُ فِي الْمَسْكَنِ فَقُولُوا لَهَا إِنَّا نَسْأَلُكِ بِعَهْدِ نُوحٍ وَبِعَهْدِ سُلَيْمَانَ بْنِ دَاوُدَ أَنْ لاَ تُؤْذِينَا فَإِنْ عَادَتْ فَاقْتُلُوهَا "
Narrated Abu Laila:
That the Messenger of Allah (ﷺ) said: "When a snake appears in your dwellings then say to it: We ask you - by covenant of Nuh, and by the covenant of Sulaiman bin Dawud - that you do not harm us.' If it returns, then kill it."
Full reference and source
Jami` at-Tirmidhi 1485 In-book : Book 18, Hadith 27 English translation : Vol. 3, Book 16, Hadith 1485
View source on Sunnah.com (opens in a new tab)