Sunan Abu Dawud 5258: General Behavior (Kitab Al-Adab)

The tradition mentioned above has also been transmitted by Ibn 'Ajilan through a different chain of narrators briefly. This version has:He should give it a warning three times. If it appears to him after that, he should kill it, for it is a devil

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنِ ابْنِ عَجْلاَنَ، بِهَذَا الْحَدِيثِ مُخْتَصَرًا قَالَ ‏ "‏ فَلْيُؤْذِنْهُ ثَلاَثًا فَإِنْ بَدَا لَهُ بَعْدُ فَلْيَقْتُلْهُ فَإِنَّهُ شَيْطَانٌ ‏"‏ ‏.‏

English translation, translator not named, from an open hadith text collection

Book 43: General Behavior (Kitab Al-Adab)

10 of 10 left today