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.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded. And Allah Almighty knows best.
Is it permissible to slaughter a sheep on Eid al-Adha with the intention of charity (sadaqah) on behalf of a sick person, and with the intention of udhiyah (sacrificial animal) at the same time?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The udhiyah (sacrificial animal) is an act of worship intended for its own sake; therefore, it must be slaughtered with the intention (niyyah) of udhiyah.
Whoever intends to draw closer to Allah through this act of obedience with the intention of udhiyah, and also intends to gift the reward to another person, there is no Islamic objection to that. And Allah Almighty knows best.
What is the ruling on tasting food while fasting?
Tasting food while fasting is disliked (makruh). However, if any part of the food reaches the body cavity (jauf), the fast becomes invalid.