Does nosebleed during the day in Ramadan affect the validity of fasting?
A nosebleed does not affect the validity of fasting unless some of the blood reaches the body cavity or the person intentionally swallows it. In such a case, their fast is invalid, and they must refrain from eating and drinking for the rest of the day and make up for that day later.
What is the ruling of Islamic Law on eating or drinking forgetfully while observing the kaffarah fasting?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If someone eats or drinks out of forgetfulness while fasting, it is simply that Allah has fed them and given them drink. Their fast is not broken by this; rather, they should continue fasting. This ruling applies whether the fast is an obligatory one (like Ramadan), a make-up fast (Qada), an expiation (Kaffarah), or a voluntary (Nafal) fast. And Allah the Exalted knows best.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. 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.