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.
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."
Is it permissible to offer an absentee funeral prayer?
Yes, it is permissible to offer an absentee funeral prayer.
How is night prayer offered?
Night prayer is offering voluntary prayer after Maghrib and before Fajr (Dawn). As for Tahajjud, it is offering voluntary prayer at night after waking up voluntarily, and for Allah`s sake as He Says (What means): "And pray in the small watches of the morning: (it would be) an additional prayer (or spiritual profit) for thee: soon will thy Lord raise thee to a Station of Praise and Glory!" [Al-Isra`/79]. Offering Tahajjud is better than offering voluntary prayer before going to bed.