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 to sleep before the time of the Fajr prayer begins, with the intention of waking up shortly afterward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible for a Muslim to sleep before the time of the Fajr prayer begins, intending to wake up and perform the prayer, by setting an alarm or asking someone to wake him. What is to be avoided is that a person sleeps while he predominantly assumes that he will not wake up for the prayer.
If he does not wake up until the time of the prayer has ended, he must make it up. It is recommended that he hasten to make it up as soon as he wakes, and likewise recommended that he make up its sunnah along with it.
It is stated in al-Majmūʿ by Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him): “Whoever was obliged to pray and did not pray until the time passed must make it up, because of the saying of the Prophet (peace and blessings be upon him): ‘Whoever sleeps through a prayer or forgets it, let him pray it when he remembers it.’ It is recommended that he make it up immediately, because of the ḥadīth we have mentioned. If he delays it, that is permissible, because it is reported that the Prophet (peace and blessings be upon him) missed the Fajr prayer and did not pray it until he had left the valley. Had it been required immediately, he would not have delayed it. Abū Is-ḥāq said: If he left it without a valid Sharia excuse, he must make it up immediately, because he was negligent in delaying it.”
It is therefore the duty of every Muslim to keep the prayer in its proper time, seeking help from Allah the Exalted and striving against the self to do so. And Allah Almighty knows best.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
When does the time of Isha' prayer end?
All perfect praise be to Allah,The Lord of The Worlds It ends at the emergence of true Fajr (Fajr Al-Sadiq ), and when the second Athaan of Fajr starts.And Allah Knows Best.