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.
Someone wiped over his shoes after wearing them in a state of purity, then took them off and prayed without them?
Ablution is not invalidated by taking off leather socks or shoes after wiping over them. However, whoever takes them off after wiping must wash his feet only. If he prayed without washing his feet, he must wash his feet and repeat the prayer. And Allah the Almighty knows best.
What is the ruling on performing the standing (qiyām) and bowing (rukū‘) portions of the prayer normally, while performing the prostration (sujūd) seated due to knee pain?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If performing sujūd (prostration) in prayer causes the worshipper pain in the knees, then it is permissible for him to perform it through gesture (īmā') while seated, since Allah, Glorified and Exalted is He, has lifted hardship from His servants. On the authority of ‘Imrān ibn Ḥuṣayn (raḍiyallāhu ‘anh), he said: "I suffered from hemorrhoids, so I asked the Prophet ﷺ about [how to perform] the prayer, and he said: 'Pray standing; if you are unable, then sitting; and if you are unable, then on your side.'" [Ṣaḥīḥ al-Bukhārī]
If the valid excuse later subsides, the worshipper is then obligated to perform the prayer with all its pillars and conditions fully observed — including standing, rukū‘ (bowing), and sujūd (prostration). And Allah, the Exalted, knows best.
Is there a solution to put an end to thinking of worries during prayer?
Firstly, make ablution after the time for prayer begins and busy yourself with remembering Allah, The Exalted, before the iqaamah (start of prayer).In order to become humbly submissive during prayer, you must perform prayer in congregation. After the prayer ends, stay in your place and read the post-prayer remembrances (Adhkaar) and make supplication to Allah, The Exalted.