Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
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.
Is a person rewarded for refraining from all that breaks their fast when required to do so, and is it considered a valid fast?
If a person eats or drinks thinking that Fajr has not yet arrived, but then someone informs them that Fajr had already begun, they must refrain from eating for the rest of the day and make up the fast later.
If they observe the required restraint (imsak), they will be rewarded for obeying the command because fulfilling an obligation brings reward.
However, this is not considered a valid fast in terms of rulings. For example:
● It is not disliked (makruh) for them to use a miswak after noon.
● They are not encouraged to hasten the breaking of the fast at sunset.
● Other fasting-related rulings do not apply to them.
What is incumbent upon the one offering the sacrifice if, after slaughtering the animal, they discover that one of its internal organs is damaged or diseased?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The presence of disease or defect in the internal organs of a sheep does not affect the validity of the sacrificial animal, unless the disease leads to the animal becoming emaciated and its meat becoming corrupted.
It is stated in al-Iqnā' (2/590) by Imam al-Shirbīnī: "The third disqualifying condition: an animal with a manifest illness — meaning one whose illness visibly results in emaciation and corruption of its meat. However, if the illness is minor and does not produce such effects, it doesn`t affect the validity of the sacrificed animal." And Allah Almighty knows best.