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 istibra' and how is it performed?
Istibra' (cleansing from urine) is recommended. It is for a person to ensure that nothing remains of urine in its passage before performing istinja'. Its method is: to clear the throat (or cough slightly), shake the penis (meaning to pass fingers along it to expel any remaining urine if needed), and walk a few steps to the extent that one thinks nothing of urine remains if walking is needed. Each person knows his own nature best. The preferred opinion is that this differs among people. The objective is for one to think that nothing remains in the urinary passage that he fears will exit later. And Allah the Almighty knows best.
What is the ruling on wiping over socks?
It is not permissible to wipe over most common socks today because the conditions for wiping are not met. The concession was reported for wiping over leather socks (khuff) and socks (jowrab) with conditions: They must be thick, not allowing poured water to penetrate, enable one to walk in them, be worn while in a state of purity (from ablution), cover the entire foot up to the ankles (meaning covering the protruding ankle bones), and not be torn. And Allah the Almighty knows best.
Does vomiting during the day in Ramadan break the fast?
Intentional vomiting is one of the nullifiers of fasting; whoever vomits deliberately breaks their fast.
However, if vomiting occurs involuntarily, the fast remains valid as long as nothing returns to the body cavity (jauf). If anything is swallowed back, the fast is invalidated.
The Prophet ﷺ said: "Whoever is overcome by vomiting does not have to make up the fast, but whoever induces vomiting deliberately must make it up." [Narrated by Abu Dawood and At-Tirmidhi]