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.
Does vomiting during the day in Ramadan break the fast?
Intentional vomiting is one of the nullifiers of fasting; whoever vomits deliberately breaks their fast.
However, if vomiting occurs involuntarily, the fast remains valid as long as nothing returns to the body cavity (jauf). If anything is swallowed back, the fast is invalidated.
The Prophet ﷺ said: "Whoever is overcome by vomiting does not have to make up the fast, but whoever induces vomiting deliberately must make it up." [Narrated by Abu Dawood and At-Tirmidhi]
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
What is the ruling on eating or drinking forgetfully during the day in Ramadan or during voluntary fasting?
Whoever eats or drinks forgetfully while fasting, whether in an obligatory or voluntary fast, should continue their fast, for it is Allah who has provided them with food and drink. There is no difference between obligatory and voluntary fasting in this ruling.