Sayyidina Jarir ibn Abdullah (RA) reported that Allah’s Messenger (SAW) sent an expedition to Khath’am. Some people prostrated and sought refuge, so the Muslims hurried to slay them, When the Prophet (SAW) learnt of it, he commanded that half of bloodwit should be paid for them. He said, “I am absolved of all the Muslims who reside among the polytheists”. They said, “O Messenger of Allah why?” He said, “Let them not see the fire of one another.” (This is how far the Muslims must stay from them).
[Abu Dawud 2645]