Does collecting saliva and swallowing it break the fast?
Swallowing collected saliva does not break the fast, but it is an unnecessary and meaningless act.
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.
Is it valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]
What is the ruling of Islamic Law on performing prayer on the upper floors of al-Masjid al-Ḥarām?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Facing the actual structure of the Ka‘bah (‘ayn al-Ka‘bah) is one of the conditions for the validity of the prayer. The scholars have clarified what is meant by "the actual structure of the Ka‘bah."
Imam ash-Sharwānī (raḥimahullāh) said: "What is meant by its ‘ayn (actual structure) is its physical body, or the airspace directly aligned with it — if the person praying is not inside it. But if he is inside it, then the airspace alone does not suffice; rather, the actual physical structure must be faced, such that even if he faces a projecting part of it measuring roughly two-thirds of a dhirā‘ (cubit) or more, this would be sufficient." [Ḥāshiyat ash-Sharwānī ‘alā Tuḥfat al-Muḥtāj, Vol.1/P.484]
Sheikh al-Qulyūbī (raḥimahullāh) said: "Unlike one who prays outside it — i.e., outside the Ka‘bah — for him the airspace (directly above it) suffices, even if he is higher than it, or even if he is at the location where it (hypothetically) has been demolished." [Ḥāshiyat al-Qulyūbī ‘alā Sharḥ al-Minhāj, Vol.1/P.154]
Accordingly, the prayer is valid on the upper floors of al-Masjid al-Ḥarām, even though these floors are higher than the roof of the Ka‘bah itself. And Allah, the Exalted, knows best.