Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
What is the ruling on the intention of fasting, where is its place, and when is its time?
The intention is a pillar of acts of worship; it is essential, and worship is not valid without it.
Its place is in the heart, and verbalizing it is recommended so that the tongue reminds the heart. Its meaning is to be determined to abstain from nullifiers of fasting during the upcoming day with the intention of worship and obedience to Allah Almighty. This meaning is naturally present in every Muslim on every night of Ramadan, so there is no need for obsessive doubts. If one says, "I intend to fast tomorrow for the sake of Allah," it removes any doubts.
Its time is from after sunset until before the true dawn.
Does undergoing surgery under anesthesia break the fast?
Anesthesia itself does not break the fast because anesthetic gases have no physical substance (jirm), and subcutaneous anesthesia injections do not reach the body cavity (jauf). However, this is on condition that the person is conscious at some point during the fasting hours:
● If they were awake at the beginning of the day, their fast remains valid.
● If they wake up even for a moment before sunset, their fast is also valid.
However, if the surgery involves the entry of foreign substances into the body cavity, their fast is invalidated, and they must make up for that day later.
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.