Sacrificing animals to the Jinn is considered Shirk (associating others with Allah in His Divinity or worship). If a person who commits this dies before repenting to Allah, he will abide eternally in Hellfire. (Part No. 1; Page No. 208) Shirk invalidates all deeds, as Allah the Exalted says (what means):
But if they had joined in worship others with Allâh, all that they used to do would have been of no benefit to them.
(Surah Al-An‘am, 6: 88).You should thank Allah for guiding you to Tawbah (repentance) from this grave sin which invalidates all deeds, and you must perform Hajj again. If your Tawbah is sincere, Allah has promised to forgive those who repent and change their sins into good deeds, as He says (what means):
And those who invoke not any other ilâh (god) along with Allâh, nor kill such person as Allâh has forbidden, except for just cause, nor commit illegal sexual intercourse - and whoever does this shall receive the punishment.
The torment will be doubled to him on the Day of Resurrection, and he will abide therein in disgrace;
Except those who repent and believe (in Islâmic Monotheism), and do righteous deeds; for those, Allâh will change their sins into good deeds, and Allâh is Oft-Forgiving, Most Merciful.
(Surah Al-Furqan 25: 68-70).May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.