Does using a respiratory device (oxygen) affect the validity of fasting?
Using an oxygen device does not affect the validity of fasting because oxygen is a gas with no physical substance.
However, if medicinal substances with physical particles are added to the oxygen, its use would break the fast, as it enters the body cavity through a natural passage.
What is the ruling on fasting the six days of Shawwal?
Fasting the six days of Shawwal is Sunnah. The Prophet ﷺ said: "Whoever fasts Ramadan and then follows it with six days of Shawwal, it is as if they have fasted for a lifetime." [Narrated by Muslim]
This is because fasting one month of Ramadan is rewarded as fasting for ten months, and the six days are equivalent to sixty days, completing a full year of fasting.
What is the ruling on wiping the head during ablution from behind a barrier like a headscarf (hijab)?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. As for one who has a turban or headscarf on their head, it is permissible for them to wipe over it after wiping a part of their head in any place. This is easily done at the front of the head. This means the woman begins by wiping the front of her head from under the headscarf, then completes the wiping to the back of the head from over the headscarf. If the woman wipes over the headscarf on her head and the moisture reaches the scalp or some hair within the boundaries of the head, it suffices for wiping the head. And Allah the Almighty knows best.
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.