What is the ruling of Islamic Law on following the actions of the imam in prayer and how this following is achieved?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The follower (ma'mum) is required to follow his imam in the actions of the prayer. This "following" (mutaba'ah) means that the follower performs each action of the prayer after the imam has begun it but before he has finished it. For example, the follower bows (in ruku') after the imam has reached the position of bowing, then rises after the imam has risen. The Prophet, peace and blessings be upon him, said: "The imam is only appointed to be followed, so when he says the takbir, say the takbir; and when he bows, then bow; and when he prostrates, then prostrate" (agreed upon, i.e., reported by both al-Bukhari and Muslim).
It is stated in Mughni al-Muhtaj (1/505): "Among the conditions of valid congregational prayer (iqtida') is following the imam in the actions of the prayer... meaning that following the imam is obligatory in the physical actions of the prayer, not in its verbal utterances... Complete following (kamal al-mutaba'ah) is achieved when the follower's beginning of an action comes after the imam's beginning of that same action, while the follower's beginning of the action precedes the imam's completion of it" — end of quote, with slight paraphrasing.
And Allah, the Exalted, knows best.
What are the Sharia consequences when the sacrificial time for the uḍḥiyyah comes to an end?
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
If the sun sets on the final day of Tashriq (the 13th of Dhu al-Hijjah) and the Udhiyah (sacrificial animal) has not yet been slaughtered, its designated time has expired. Should a person slaughter it after this point, it will not be counted as an Udhiyah.
However, if the sacrifice was a vowed one (Mandhurah), they are strictly obligated to slaughter it as a makeup act (Qada’), and its meat must be distributed entirely according to the rules governing vowed sacrifices.
It is stated in Bushra al-Karim (p. 702): "If one slaughters after sunset on the final day [of Tashriq]... it does not count as an Udhiyah, unless it was a vowed sacrifice, in which case it is fulfilled as a makeup act (Qada’)." And Allah the Almighty Knows Best.
Which hour coincides with the last third of the night?
This hour could be figured out by calculating the number of night hours which start at sunset, and end at dawn break, then the total is divided on three to get the result.
Is it acceptable to perform the Aqiqah for a male child by slaughtering and distributing the first sheep, and bringing the second one cooked from the restaurant?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible to slaughter the first sheep with the intention of Aqiqah (the newborn's sacrificial offering) and distribute it entirely [uncooked], and to slaughter the second sheep and have it cooked at a restaurant to bring home for the household. However, it must be noted that it is obligatory to give some portion of the Aqiqah in charity to the poor, even if it is a small amount, though it is preferable to send the food cooked to them.
Buying a pre-cooked, ready-made sheep from a restaurant does not suffice as an Aqiqah. However, if an agreement is made with the restaurant to explicitly slaughter a sheep with the intention of Aqiqah for the newborn, and then cook it afterward, this is permissible.
In conclusion, slaughtering the sheep and distributing it with the intention of Aqiqah is permissible, and through it, the foundational prophetic tradition (Sunnah) is fulfilled. As for simply buying a cooked sheep from a restaurant that was not specifically slaughtered with the intention of Aqiqah, it will not count as such. Conversely, if the restaurant owner is commissioned (Wakala) to handle both the slaughtering and the cooking as an Aqiqah, it is valid. And Allah the Almighty knows best.