Is fasting obligatory for a child?
Fasting is not obligatory for a child until they reach puberty. Puberty is determined by well-known signs, the most common of which are: nocturnal emission (for both males and females), menstruation (for females), or reaching the age of fifteen lunar years.
A guardian must instruct their children to fast once they reach the age of discernment, which is around seven years old, if they are capable of fasting.
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."
Is it permissible to offer an absentee funeral prayer?
Yes, it is permissible to offer an absentee funeral prayer.
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—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.