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.
What is the ruling on bypassing a nearby mosque for a distant one?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a distant mosque has a larger congregation (Jama‘ah) while the congregation in the nearby mosque is smaller, and the congregation in the nearby mosque is not adversely affected by the worshiper's absence, then it is better for him to pray in the distant mosque with the larger congregation. However, if the congregation in the nearby mosque would be affected by his absence—such as if he is its Imam, or if his presence encourages others to attend—then praying in the nearby mosque is better. This ensures that the congregation is established in two different locations within the community. This is based on the saying of the Prophet ﷺ: 'A man's prayer offered with another man is purer than his prayer which he offers alone, and his prayer with two men is purer than his prayer with one and if they are more (in number), it is more beloved to Allah, the Mighty the Majestic' (Narrated by Ahmad, Abu Dawood, and An-Nasa'i). And Allah the Exalted knows best.
What is the ruling on making up the regular pre-Dhuhr *sunnah* (*al-sunnah al-rātibah al-qabliyyah*) for one who missed it in the Dhuhr prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Every timed supererogatory prayer (nāfilah) is recommended (mandūb) to be made up if its time passes. As for a nāfilah that precedes the obligatory prayer, performing it before the farḍ is a matter of proper etiquette (adab); if it is prayed after the farḍ, it is still considered adāʾ (performed within its time). If the time of the farḍ has ended, it is recommended to make up (qaḍāʾ) the nāfilah for one who did not pray it.
Whoever misses the sunnah before Dhuhr, whether with an excuse or without one, it is recommended for him to pray it after the obligatory Dhuhr prayer, within the time of Dhuhr, even at its end, and it counts as adāʾ, not qaḍāʾ. It is also recommended for one who missed the pre-Dhuhr sunnah to pray it before the post-Dhuhr sunnah, in observance of the proper order. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.60): "What precedes the obligatory prayer has the same time as the obligatory prayer, and performing it before the farḍ is a matter of etiquette; after it, it is adāʾ. What follows the farḍ has its time begin with the performance of the farḍ and end with the end of its time."
If the time of Dhuhr has ended, it is recommended for him to pray both the pre- and post-Dhuhr sunnahs, and they count as qaḍāʾ for both. It is stated in ʿUmdat al-Sālik (1/61): "Every timed nafl, such as the ʿĪd prayer, Duha, Witr, and the regular rawātib of the obligatory prayers, if it is missed, it is recommended to make it up forever." And Allah Almighty knows best.
What is the ruling of Islamic Law on sitting between the two prostrations, and what is the ruling on the dhikr recited during it?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
Sitting between the two prostrations (al-jalsah bayna al-sajdatayn) is one of the pillars (arkān) of the prayer, while the dhikr recited during it is Sunnah according to the Shāfi'ī scholars. It is recommended (mustahabb) to say what was narrated from Ibn 'Abbās (may Allah be pleased with him), who said: "The Messenger of Allah (peace and blessings be upon him) used to say between the two prostrations in the night prayer: 'Rabbi ighfir lī, warhamnī, wajburnī, warzuqnī, warfa'nī' (My Lord, forgive me, have mercy on me, make good my deficiencies, provide for me, and raise me)." If one were to say a different supplication instead, such as "Rabbi ighfir lī" (My Lord, forgive me), the prayer would still be valid.
If the worshipper omits this dhikr between the two prostrations, whether intentionally or out of forgetfulness, their prayer remains valid and nothing is required of them, though they miss the reward of following the Sunnah. Leaving it out does not necessitate the prostration of forgetfulness (sujūd al-sahw).
It is stated in Hāshiyat al-Bājūrī 'alā Sharḥ Ibn Qāsim 'alā Matn Abī Shujā' (Vol.1/P.298): "The eleventh — i.e., of the eighteen pillars — his statement: 'sitting between the two prostrations,' meaning even in a supererogatory (nafl) prayer... his statement: 'with the supplication that has been narrated concerning it,' meaning: 'Rabbi ighfir lī, warhamnī, wajburnī, warfa'nī, warzuqnī, wahdinī, wa 'āfinī' (My Lord, forgive me, have mercy on me, make good my deficiencies, raise me, provide for me, guide me, and grant me well-being). Al-Ghazālī added: 'wa'fu 'annī' (and pardon me). Al-Mutawallī also added: 'Rabbi hab lī qalban taqiyyan, naqiyyan min al-shirk, bariyyan lā kāfiran wa lā shaqiyyan' (My Lord, grant me a heart that is God-fearing, pure from associating partners with You, innocent, neither disbelieving nor wretched)."And Allah, the Most High, knows best.