What is the ruling of Islamic Law on kissing while fasting?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is prohibitively disliked (makrūh taḥrīman) for a husband to engage in foreplay with or kiss his wife during the daylight hours of Ramaḍān if doing so stirs his desire. If pre-seminal fluid (madhī) is released as a result, the fast is not invalidated; however, if seminal fluid (manī) is released, the fast is broken.
Imām al-Khaṭīb al-Sharbīnī, may Allah have mercy upon him, stated: "It is prohibitively disliked to kiss — whether on the mouth or elsewhere — for one whose desire is stirred, whether man or woman, to the extent that he fears it may lead to intercourse or ejaculation. Embracing, touching, and similar acts without a barrier carry the same ruling as kissing in this regard, because such acts expose the act of worship to being corrupted — and as the two Ṣaḥīḥs record: 'Whoever circles around a protected boundary is liable to fall into it.'"
He further added: "It is preferable for one whose desire is not stirred — even if he is a young man — to refrain from such acts as well, so as to close the door entirely. For he may believe his desire has not been aroused when in fact it has. Moreover, it is Sunnah for the fasting person to abstain from all desires without exception." — Summarised with minor adaptation from [Mughnī al-Muḥtāj]. And Allah the Almighty knows best.
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 congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.