What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
What is the ruling on the follower`s prayer if the Imam stands for a fifth rak`ah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If the Imam stands up for an extra unit (rak‘ah) of prayer out of forgetfulness, he must return to the sitting position as soon as he remembers, and he should perform the prostration of forgetfulness (Sujud al-Sahw). It is the duty of the congregants (Ma’mumin) behind him to remind him. However, if the Imam is in a state of doubt regarding the extra unit (and not certainty), it is not permissible for him to return.
As for the congregants: anyone who is certain that the Imam has stood for an extra unit is forbidden from following him. In this case, the follower has two choices: either intend to separate from the Imam (Mufaraqah) and finish the prayer alone, or wait for the Imam in the sitting position and perform the final salams with him—the latter being the preferred option. If a follower knowingly follows the Imam into an extra unit, their prayer becomes invalid. However, if a follower is in doubt and not certain of the mistake, they must continue following the Imam, as the Imam was appointed to be followed.
It is stated in Al-Majmu’ (Vol.4/P.145): 'If [the Imam] stands for a fifth rak‘ah, the follower should not follow him, even if it is assumed that the Imam might have omitted a pillar from a previous unit; because if the reality is known, following him is impermissible since the follower has certainly completed their own prayer. Even if the follower had missed a previous unit (Masbuq) or was in doubt about performing a pillar like the Fatihah, and the Imam stood for the fifth, it is not permissible for the latecomer to follow him in it. This is because we know that this unit is not counted for the Imam and that he is mistaken in performing it.' And Allah the Exalted 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.
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.