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.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
What is the ruling on undoing braids of hair during the ritual bath?
It is not a condition to undo braids if the water reaches all the hair and penetrates to its base. If the water does not reach except by undoing the braids, then it is obligatory to undo them for the water to reach. And Allah the Almighty knows best.