What is the Islamic ruling on eating from the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is recommended (mandūb) to eat from the 'aqīqah, unless it was vowed (mandhūrah). If the 'aqīqah was made as a vow, then it is prohibited to eat from it, and it becomes obligatory to distribute the entirety of it in charity to the poor. And Allah Almighty knows best.
What is the wisdom and purpose behind the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
Among the wisdoms and purposes of the 'aqīqah are the following:
First: Expressing joy at the blessing of Allah the Almighty, rejoicing in the newborn, and giving thanks to Allah for this gift. Allah the Almighty says (what means): "If you are grateful, I will surely increase you." [Ibrāhīm/7]
Second: Proclaiming and publicising the lineage (nasab) of the child — and the 'aqīqah serves as an appropriate and fitting means to this end.
Third: Gladdening the hearts of family members, relatives, friends, and the poor by gathering them together over a shared meal. And Allah Almighty knows best.
Is it Sunnah to cook the meat of the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is Sunnah not to distribute the meat of the 'aqīqah raw. Rather, it is recommended to cook it with something sweet — such as raisins or honey — as a good omen and expression of hope for the sweetness of the newborn's character and conduct throughout their life. And Allah Almighty knows best.
Is it permissible to offer an Udhiyah on behalf of the deceased?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Offering a sacrifice (Udhiyah) on behalf of the deceased is permissible. This is the position of the Hanbalis [Kashshaf al-Qina’ by al-Bahuti (Vol.6/P.428)], and it was held by al-Abbadi of the Shafi’is [Bidayat al-Muhtaj by Ibn Qadi Shuhbah (Vol.4/P.358)]; it is also narrated from some Maliki and Hanafi scholars.
Abu Dawud included a chapter in his Sunan titled "Chapter: Offering the Sacrifice on Behalf of the Deceased," in which he narrated from Hanash, who said: "I saw Ali (may Allah be pleased with him) sacrificing two rams. I asked him, 'What is this?' He replied, 'The Messenger of Allah (peace be upon him) enjoined me to sacrifice on his behalf, so I am sacrificing on his behalf.'"
Abu Dawud also narrated from Jabir (may Allah be pleased with him) that the Prophet (peace be upon him) said: "O Allah, this is from You and for You, on behalf of Muhammad and his Ummah; in the name of Allah, and Allah is the Greatest," then he slaughtered it. It is well known that among the Ummah of Muhammad (peace be upon him) are those who have passed away, yet he (peace be upon him) dedicated it to his entire Ummah.
Furthermore, multiple Sharia texts have consistently indicated that the rewards of righteous deeds reach the deceased. This includes the permissibility of fasting on behalf of the deceased if they died owing fasts, as well as the permissibility of performing Hajj on their behalf, both of which are established in authentic Hadiths. Since the rewards for fasting—a physical act of worship—and Hajj—a physical and financial act of worship—reach the deceased, then the sacrifice (Udhiyah) is even more likely to reach them.
Moreover, the scholars have reached a consensus (Ijma') that the rewards of charities reach the deceased, and the Udhiyah is a form of charity and falls under its general category. Based on all of this, we hold the view that offering a sacrifice on behalf of the deceased is permissible. And Allah the Almighty knows best.