What is the ruling on performing voluntary (nafl) prayer during the time of istiwā' (the sun's zenith) on the day of Jumu‘ah (Friday), and is this ruling specific to someone who has come to the mosque to perform the Jumu‘ah prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to perform voluntary (nafl) prayer during the time of istiwā' (the sun's zenith, i.e., its highest point before noon) on the day of Jumu‘ah (Friday) — whether for someone who is attending the Friday prayer or someone who is not, and whether they are among the people obligated to attend it or not.
It is stated in Mughnī al-Muḥtāj (Vol.1/P.310): "The more correct position (al-aṣaḥḥ) is that prayer is permissible during this time without restriction — regardless of whether the person will be attending the Jumu‘ah prayer or not." And Allah, the Exalted, 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.
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 should one do if they see someone deliberately eating or drinking openly during Ramadan?
They must enjoin what is right and forbid what is wrong. If they fear harm from that person, they should disapprove of it in their heart but avoid sitting with them if possible. It is also preferable to seek the help of the authorities to prevent them from doing so.