He Who makes Offerings to Jinn shall have no Good Deeds of His accepted until He repents
Question:
Some students of knowledge told us that he who makes offering to Jinn, neither his prayer nor Hajj would be accepted from him. When I heard this, I repented to Allah, because I used to do so, and I performed Hajj, but they said that my Hajj was void. Is it true that my Hajj is void? And if so, do I have to perform Hajj again?
Answer:
Sacrificing animals for Jinn is Shirk. He who does so, and dies before repenting, would live in Hell-Fire eternally. No good deed is acceptable in the state of Shirk. Allah says:
Were they to commit Shirk, their (good) deeds would have been nullified.
All praise is due to Allah Who has accommodated you to repent from this grave sin with which no good deed is accepted. Perform Hajj again, and if you are sincere in your repentance, Allah has promised to forgive those who repent. and replace their bad deeds with good ones. He says:
And those who do not worship another god beside Allah, nor kill a person that Allah has forbidden, except rightfully, nor commit adultery (or fornication), and he who does so shall be punished. His torment shall be doubled on the Day of Resurrection, and will live therein disgraced forever. Excluding those who repent, and believe and do good deeds. For such, Allah will replace their evil deeds with good deeds; and Allah is Most Forgiving, Merciful.
And it is only Allah Who grants success. May Allah exalt the mention of His slave and Messenger Muhammad, and render him, his household and Companions safe from evil.
Source:
Fatawa Islamiyah, Vol. 1 Page 18