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.
What is the ruling on istinja' after urination, and is it done with water and soap or with water only?
Istinja' from urine and stool is obligatory. It is permissible to perform istinja' with water alone, or with toilet paper alone. The best way is with toilet paper then water. If one wishes to suffice with one of them, then water is better. And Allah the Almighty knows best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Is it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
It is permissible for someone who sacrificed on behalf of another with their permission to eat from it with their permission, and they stand in their place (act as their representative) in distributing it.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.8/P.141): "And he—meaning the one sacrificing on his own behalf, provided he has not apostatized—has the right to eat from a voluntary sacrifice and his sacrificial gift; rather, it is recommended. As for an obligatory sacrifice, it is forbidden for him to eat from it, whether it was designated as such initially or as a liability in his dhimmah. And excluded by what has preceded is if he sacrifices on behalf of another, or if he apostatized, then it is not permissible for him to eat from it, just as it is absolutely impermissible to feed a disbeliever from it."(The text I found indicates the impermissibility of eating) ???
And it is stated in Hashiyat al-Jamal ‘ala Sharh al-Manhaj (Vol.5/P.262): "If a person offers a sacrifice on behalf of a living person with their permission, does he act as their representative in distributing it—on the grounds that permission to sacrifice is permission to distribute it—or does it depend on their explicit permission? This requires consideration, but the first view is not far-fetched." And Allah the Almighty knows best.