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.
When does the time for Udhiyah begin?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The time for Udhiyah (sacrificial offering) begins once the sun has risen on the day of Eid al-Adha—which is the tenth of Dhul-Hijjah—and a period of time has passed equivalent to two brief prayer units (Raka'at) and two brief sermons (Khutbah). It then continues until the sunset of the last of the days of Tashreeq, which are the eleventh, twelfth, and thirteenth of Dhul-Hijjah.
The Prophet (peace be upon him) said: "All the mountain passes of Mina are places of sacrifice, and in all the days of Tashreeq there is slaughtering." [Narrated by Al-Bayhaqi and Ibn Hibban].
The best time to slaughter is after finishing the Eid prayer, due to the saying of the Prophet (peace be upon him):
"Indeed, the first thing we begin with on this day of ours is to pray, then we return and slaughter. Whoever does that has attained our Sunnah, and whoever slaughters before [the prayer], it is only meat he has presented to his family; it is not part of the ritual sacrifice (Nusuk) in any way." [ٌReported by Bukhari & Muslim].
It is valid to sacrifice at any time, whether by night or by day; however, it is disliked (Makruh) at night. And Allah the Almighty knows best.
What should someone do if they fasted for 30 days in their country, then traveled to a place where people are still fasting?
If a person completes 30 days of fasting in their country and then travels to another country where people are still fasting, they should continue fasting with them until they observe Eid. Even if they have already completed 30 days, he/she should abstain from eating and drinking and join the people of that country because he/she has now become part of that community.
How is the beginning of Ramadan determined?
1. Completing 30 days of Sha‘ban, or
2. Sighting the crescent moon after sunset on the 29th day of Sha‘ban.
It is Sunnah to search for the moon, and it is obligatory to follow the official authorities responsible for announcing it.