Abdur Rahman ibn Abu Layla reported from Abu Layla that Allah’s Messenger (SAW) said, “If a snake is observed in the house, say, ‘We ask you by the covenant of Nub and by the covenant of Sulayman ibn Dawood, do not hurt us.’ If it returns then kill it.”
[Abu Dawud 5260]
--------------------------------------------------------------------------------