What is the ruling on someone who curses the religion or commits an act of disbelief during the day in Ramadan?
Whoever apostatizes (leaves Islam) while fasting, their fast is invalid. Cursing the religion is an act of apostasy (may Allah protect us from it). Such a person must return to Islam by pronouncing the Shahadah (testimony of faith), seek Allah’s forgiveness, refrain from eating and drinking for the rest of the day, and make up for that day’s fast later.
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 it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
It is permissible for someone who sacrificed on behalf of another with their permission to eat from it with their permission, and they stand in their place (act as their representative) in distributing it.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.8/P.141): "And he—meaning the one sacrificing on his own behalf, provided he has not apostatized—has the right to eat from a voluntary sacrifice and his sacrificial gift; rather, it is recommended. As for an obligatory sacrifice, it is forbidden for him to eat from it, whether it was designated as such initially or as a liability in his dhimmah. And excluded by what has preceded is if he sacrifices on behalf of another, or if he apostatized, then it is not permissible for him to eat from it, just as it is absolutely impermissible to feed a disbeliever from it."(The text I found indicates the impermissibility of eating) ???
And it is stated in Hashiyat al-Jamal ‘ala Sharh al-Manhaj (Vol.5/P.262): "If a person offers a sacrifice on behalf of a living person with their permission, does he act as their representative in distributing it—on the grounds that permission to sacrifice is permission to distribute it—or does it depend on their explicit permission? This requires consideration, but the first view is not far-fetched." And Allah the Almighty knows best.
Who is the "Capable Person" for whom the Udhiyah is recommended?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The "Capable Person" (Al-Qadir): This refers to anyone who possesses surplus wealth beyond their own essential needs and the financial maintenance of their wife, children, or whoever is under their legal care, during the day of Eid and the three days of Tashreeq (the 11th, 12th, and 13th of Dhul-Hijjah), as this is the designated timeframe for the sacrifice. And Allah Knows Best.