Jareer bin Abdullah reported,

The Messenger of Allah ﷺ sent a military expedition to Khathaam. Some people sought refuge by prostrating themselves, but they were nonetheless hastily killed. When news of this reached the Prophet ﷺ, he ordered that half the blood-money be paid for them and said, "I disassociate myself from every Muslim who lives among the polytheists."They asked, "Messenger of Allah, why is that?"He replied, "Their two fires should not be visible to one another."

Tirmidhi 1604

Daif

حدثنا هناد حدثنا أبو معاوية عن إسمعيل بن أبي خالد عن قيس بن أبي حازم

عن جرير بن عبد الله

أن رسول الله ﷺ بعث سرية إلى خثعم فاعتصم ناس بالسجود فأسرع فيهم القتل فبلغ ذلك النبي ﷺ فأمر لهم بنصف العقل وقال أنا بريء من كل مسلم يقيم بين أظهر المشركين قالوا يا رسول الله ولم قال لا ترايا ناراهما

الترمذي 1604ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Expeditions
Chapter
Dislike of residing among the polytheists
Numbering
Darussalam 1604
Tirmidhi 1604