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 is the ruling on omitting the prostration of recitation?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The prostration of recitation (Sajdat al-Tilawah) is a Sunnah for both the reader and the listener. There is no sin in omitting it, though doing so results in missing a great reward. Muslim narrated from Abu Hurairah (may Allah be pleased with him) that the Prophet ﷺ said: 'When the son of Adam recites a verse of prostration and prostrates, Shaytan withdraws weeping, saying: "Woe to him! (and in the narration of Abu Kuraib: "Woe to me!") The son of Adam was commanded to prostrate and he prostrated, so Paradise is his; and I was commanded to prostrate and I refused, so the Fire is mine."'
Sheikh al-Islam Imam al-Nawawi (may Allah have mercy on him) stated: 'It is recommended to prostrate immediately after reciting or hearing a verse of prostration. If one delays it but the interval is short, he may still prostrate. However, if the interval is long, the opportunity is missed.' [Rawdat al-Talibin Vol.1/P.323].
Furthermore, the prostration of recitation becomes obligatory (Wajib) in congregational prayer if the Imam prostrates, out of the necessity of following him. And Allah the Exalted knows best.
What is the ruling on swimming while fasting?
Swimming while fasting is disliked (makruh) due to the risk of water entering the body cavity (jauf) through the nose, ears, or mouth, which would break the fast.
Ramadan is a month of tasbeeh (glorifying Allah), not Sibaha (swimming).
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.