What is the ruling on X-ray imaging while fasting in Ramadan?
X-ray imaging itself does not break the fast. However, if a person ingests a contrast agent or medication to enhance the imaging process through an open passage to the body cavity (jauf)—such as the mouth or rectum—then their fast is invalidated.
What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
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.
How do I deal with whispers (waswasa) in ablution and purification?
Whispers in ablution are from Satan, and the Muslim should not pay attention to them. He is not required to re-perform ablution or repeat washing a limb because of waswasa. He should always base his purification on its being valid. It is recommended for him to frequently say "La ilaha illa Allah" (There is no god but Allah), because Satan recoils when Allah is mentioned. And Allah the Almighty knows best.