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.
Should one who doesn`t perform prayer out of laziness make it up later, and how should he/she do so?
All perfect praise be to Allah,The Lord of The Worlds He/she is obliged to make up missed prayers by offering with each obligatory prayer another one, and if he/she offers two, then it is better. And Allah Knows Best.
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 prayer of one who said "Subḥāna Rabbiya al-ʿAẓīm" in prostration (*sujūd*) and forgot to correct it?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Saying “Subḥāna Rabbiya al-ʿAẓīm” in bowing (rukūʿ) and “Subḥāna Rabbiya al-Aʿlā” in prostration (sujūd) is one of the hayʾāt (non-essential sunnahs) of the prayer. Whoever omits it, whether deliberately or by forgetfulness, or replaces it with another remembrance (dhikr), his prayer is valid and he does not perform sujūd al-sahw. Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “Our school holds that one does not prostrate for omitting the audible or silent recitation, the tasbīḥ, and the rest of the hayʾāt.” [al-Majmūʿ, Vol.4/p.127]
If he performs sujūd al-sahw for something that does not call for it, his prayer is invalidated, because he introduced a prostration of forgetfulness without a cause, and he must repeat the prayer. The exception is one who did so out of forgetfulness or ignorance, whether because he recently entered Islam or because he lives far from scholars; he is excused and his prayer is not invalidated.
It is stated in Mughni al-Muḥtāj (Vol.1/p.417): “It is stated in al-Anwār: If he does something that does not call for sujūd al-sahw, thinking that it does, and then prostrates, his prayer is not invalidated if he is ignorant because he recently entered Islam or because he is far from scholars.”
Since this issue is hidden from the laity, as it is among the subtleties of knowledge, and the laity are excused for ignorance of whatever is of such a nature, and their act of obedience is not invalidated because of it, it may be said that the prayer of one who has not acquired knowledge of the issue is not invalidated. As for after knowing it, the prayer is invalidated.
Whoever realizes while still in the prayer that his prostration was out of place, it is sunnah for him to perform sujūd al-sahw. And Allah Almighty knows best.