Is the one offering the sacrifice liable if its meat spoils?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
If the meat (of the sacrifice) spoils due to the negligence of the one offering the sacrifice in preserving it, or due to improper storage, then he is liable to compensate for the portion due to the poor (which is estimated as half a kilogram of meat). If the sacrifice was a vowed (mandatory) one, then he is liable for all of it.
However, if he was not negligent, then there is no liability upon him, because its ruling is the ruling of a trust (like an item left in someone's care). And Allah Almighty knows best.
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?
Ruling on bringing a cooked sheep as an Aqiqah
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—provided that a portion of it, even if small, is given in charity, which is estimated to be approximately half a kilogram of meat. And Allah the Almighty knows best.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
Is it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for one who sacrifices on behalf of another with his permission to eat from the sacrifice with his permission, and he takes his place in distributing its meat.
It is stated in Hashiyat al-Jamal 'ala Sharh al-Minhaj (Vol.5/P.262): 'If a person sacrifices on behalf of a living individual with his permission, does he take the place of that individual in distributing the meat, because permission for the sacrifice implies permission for distribution, or does it depend on explicit permission? There is room for consideration, but the former view is not far-fetched.' And Allah Almighty knows best."