Is it permissible to offer an absentee funeral prayer?
Yes, it is permissible to offer an absentee funeral prayer.
Is it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for one who sacrifices on behalf of another with his permission to eat from the sacrifice with his permission, and he takes his place in distributing its meat.
It is stated in Hashiyat al-Jamal 'ala Sharh al-Minhaj (Vol.5/P.262): 'If a person sacrifices on behalf of a living individual with his permission, does he take the place of that individual in distributing the meat, because permission for the sacrifice implies permission for distribution, or does it depend on explicit permission? There is room for consideration, but the former view is not far-fetched.' And Allah Almighty knows best."
What is the ruling on swallowing phlegm while fasting?
If a fasting person intentionally swallows phlegm, their fast is invalid, as it is possible to avoid it.
However, if they swallow it unintentionally, their fast remains valid.
Phlegm is impure and should be avoided.
What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.