Sunan Abi Dawud, Book 43, Hadith 487 (Abu Dawud 5261)

The tradition mentioned above has also been transmitted by Abu Sa'id al-Khudri in a similar manner through a different chain of narrators. This version is more perfect. In this version he said :

give it a warning for three days; if it appears to you after that, then kill it, for it is only a devil.