Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
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.
When is a child instructed to fast?
A child is instructed to fast at the age of seven if they are capable of fasting and have reached the age of discernment, by analogy to prayer. They should be encouraged but not forced, so they can become accustomed to it. It is obligatory for their guardian, whether a father or another, to instruct them.
What is the ruling on performing Tahajjud after the Witr?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for one who has prayed the Witr to perform voluntary (Nafl) prayers after it. However, it is preferable for the Witr to be the final prayer of the night. Therefore, if a person is confident that they will wake up during the night for Tahajjud, it is recommended for them to delay the Witr until after the Tahajjud. Conversely, if one fears they may not wake up, they should perform the Witr before sleeping.
Al-Khatib al-Shirbini (may Allah have mercy on him) stated: 'It is not disliked (Makruh) to perform Tahajjud after the Witr, but it is not recommended to do so intentionally.' [Mughni al-Muhtaj, Vol. 1/P.454]. And Allah the Exalted knows best."