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.
"If the fidyah becomes obligatory upon a pregnant or nursing woman because she broke her fast out of fear for her child, is it obligatory from her own wealth, or from her husband's wealth?"
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The fidyah (ransom/compensation payment for breaking the fast) is obligatory from the wife's own wealth, and is not obligatory upon the husband unless he voluntarily chooses to pay it on her behalf.
It is stated in Mughnī al-Muḥtāj (Vol.2/P.174): "If the two [the pregnant woman and the nursing mother] fear for the child alone — such as a pregnant woman fearing miscarriage, or a nursing mother fearing that her milk supply would decrease, thereby endangering the child — then both the qaḍā' (making up the missed fast) and the fidyah become obligatory upon them, to be paid from their own wealth." And Allah, the Exalted, knows best.
What is the ruling on congregational prayer performed outside the mosque, and is it a condition that it be performed in a mosque in order to attain the full reward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is not a condition for attaining the reward of congregational prayer that it be performed in a mosque; however, a Muslim should still be keen to perform his prayers in the mosque, so as not to miss out on immense reward. This is due to the virtue of the mosque and of spending time there (i‘tikāf), the typically larger number of worshippers present, and the additional reward gained through walking to and from the mosque. On the authority of Abū Hurayrah (raḍiyallāhu ‘anh), the Messenger of Allah ﷺ said: "Whoever purifies himself in his house, then walks to one of the houses of Allah to fulfill one of the obligations Allah has prescribed, one of his steps will erase a sin, and the other will raise him a degree [in status]." (Related by Muslim)
Whoever misses congregational prayer at the mosque should still strive to pray in congregation at his workplace, or together with the members of his household. And Allah, the Exalted, knows best.
What is the ruling on one who sees moisture on his clothes and doubts whether it is semen or pre-seminal fluid (madhy)?
Whoever finds moisture upon waking from sleep and doubts whether it is semen or madhy, and cannot distinguish between them, he may choose between them and act according to his choice. If he wishes, he can consider it semen and perform the ritual bath, or consider it madhy, perform ablution, and wash what it has soiled. This is because if he fulfills the requirement of one of them, he is definitively free from it, and the default is his innocence from the other. And Allah the Almighty knows best.