What is the ruling of Islamic Law on performing ṭawāf on the upper floors of al-Masjid al-Ḥarām, given that these floors are situated above the level of the Ka‘bah, and that the one performing ṭawāf passes by certain barriers, such as pillars and walls, during the ṭawāf?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
There are numerous conditions for the validity of ṭawāf (circumambulation around the Ka‘bah), among them: that the one performing ṭawāf be inside the Masjid (al-Masjid al-Ḥarām) — even if the Masjid has been expanded, so long as the expansion does not extend out into al-ḥill (land outside the sanctuary boundaries). It suffices for the ṭawāf to be performed in the airspace of the Masjid or upon its roof, even if that roof is higher than the Ka‘bah (the House) itself.
Al-Khaṭīb ash-Shirbīnī (raḥimahullāh) said: "It [ṭawāf] is valid upon the roof of the Masjid, even if the roof of the Masjid is higher than the House — just as prayer [is valid] upon Mount Abū Qubays despite its elevation above the House. This is the relied-upon (mu‘tamad) position." [Mughnī al-Muḥtāj, Vol.2/P.246]
The validity of the tawaf isn`t affected by the pillars and walls standing between the one performing ṭawāf and the House, since the condition is only that the person performing ṭawāf be within the boundaries of the Masjid and outside the boundaries of the Ka‘bah itself.
Ash-Shirbīnī said: "It [ṭawāf] is valid inside the Masjid, even if it is expanded, and even if a barrier stands between the one circumambulating and the House — such as a water-supply structure (saqāyah) or pillars (sawārī)." [Mughnī al-Muḥtāj, Vol. 2/P.246]
Accordingly, ṭawāf performed on the upper floors is valid, and the presence of barriers such as pillars and walls during the ṭawāf does not affect its validity. And Allah, the Exalted, knows best.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.
Does having a wet dream during the day in Ramadan break the fast?
Having a wet dream during the day in Ramadan does not invalidate the fast. However, one must perform ghusl (ritual purification) to ensure they do not miss their prayers.