Question 274: It is customary for our fellow Bedouins that when someone builds a new house or buys a new car, he slaughters an animal. It is believed that this will protect the house or the car against destruction or envy. When we advise people, they say it is charity.
Answer: It is not permissible to slaughter an animal with such intention. Moreover, if the person slaughters it intending to draw closer to the Jinn to ward off their harm, it will be considered an act of major Shirk (associating others with Allaah in His Divinity or worship that takes the Muslim out of Islaam). Allaah (Exalted be He) states, Say (O Muhammad صلى الله عليه وسلم): “Verily, my Salaah (prayer), my sacrifice, my living, and my dying are for Allaah, the Lord of the ‘Aalameen (mankind, jinn and all that exists). He has no partner.... read more here.