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.
I broke my oath and am now obligated to pay the expiation for a broken oath (kaffārat al-yamīn). Would it be valid to fulfill this by inviting the poor and needy to a meal for them to eat from?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
The expiation for a broken oath (kaffārat al-yamīn) is given to the poor (fuqarā') and needy (masākīn), and it must be given in the form of ownership (tamlīk) transferred to them of the required amount — namely, one mudd of the staple food of the locality, or its equivalent monetary value. It isn`t valid to invite the poor or needy to a meal prepared for them to eat from, as this does not constitute "ownership" (tamlīk) but merely "permission to partake" (ibāḥah).
Imam al-Shirbīnī (may Allah have mercy on him) said: "What is intended is that ownership be transferred to them; therefore, providing them with lunch or dinner [as a meal to eat from] isn`t valid." [Summarized from Mughnī al-Muhtāj,Vol. 5/P.50]. And Allah the Almighty knows best.
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.
What is the ruling on waiving a debt owed by a debtor and counting it toward zakāh?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Waiving a debt owed by a debtor, with the intention of counting it toward zakāh, does not fulfill the zakāh obligation. Rather, it constitutes an ordinary act of charity, for which Allah rewards the giver generously — since one of the conditions for the validity of zakāh is that the person paying it must form the intention of zakāh at the actual moment the wealth is paid out. In this case, the debt has already been established as a standing obligation upon the borrower, so it is not valid to simply redirect the intention toward zakāh after the fact.
It is preferable, instead, for the creditor to first collect the debt from the debtor, and then return to him the amount of money he is required to pay as zakāh — or a portion of it — if the debtor happens to fall under one of the eight categories that Allah, the Exalted, has commanded be given from zakāh.
It is stated in ‘Umdat as-Sālik, from the books of the Shāfi‘ī school: "If someone gives [money] to a poor person, stipulating that the recipient return it to him in payment of a debt owed to him, or says, 'I am making what you owe me into zakāh, so take it [as such]' — this is not valid. But if he gives it to him with the [unstated] intention that the recipient will use it to repay him, or says, 'Repay what you owe me, so that I may [then separately] give it to you as zakāh,' or the debtor himself says, 'Give it to me, so that I may [then] repay you with it' — this is valid, and there is no binding obligation for the recipient to actually fulfill this [informal understanding]." And Allah, the Exalted, knows best.