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 is better during the day in Ramadan: reciting the Quran or performing voluntary prayers?
A Muslim should establish a daily schedule for reciting the Quran in Ramadan.
Once they have completed their daily portion (known as a wird or hizb), they can engage in other acts of worship, including voluntary prayers (nawafil). Prayer itself is called "Quran", because a significant part of it involves reciting the Quran.
Allah says: "BE CONSTANT in [thy] prayer from the time when the sun has passed its zenith till the darkness of night, and [be ever mindful of its] recitation at dawn: for, behold, the recitation [of prayer] at dawn is indeed witnessed [by all that is holy]." [Al-Isra`/78]
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.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.