When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
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 forgetting an integral of the prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whoever forgets an integral (Rukn) of the prayer and remembers it before reaching the equivalent point in the subsequent unit (Rak'ah), must return to it (i.e., perform it) and complete his prayer, then perform the prostration of forgetfulness (Sujud al-Sahw) at the end of his prayer. However, if he remembers it after reaching the equivalent point in the subsequent unit, the Rak'ah in which the integral was forgotten is invalidated, and the current unit takes its place; he then completes a full Rak'ah to compensate and performs the prostration of forgetfulness.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.1/P.543): 'If he becomes certain at the end of his prayer, or after the Salam—provided the interval is not long according to custom and he has not stepped on an impurity—that he omitted a prostration from the final Rak'ah, he must perform it and repeat the Tashahhud, as his previous Tashahhud occurred before its proper place. If the omission was from a Rak'ah other than the final one, he must perform a full Rak'ah, because the deficient unit was completed by a prostration from the subsequent one, rendering the rest of that subsequent unit void.' And Allah the Exalted knows best.
What is the ruling of Islamic Law on a latecomer who joins the imam during the standing position of the first rakʿah but was unable to complete the recitation of al-Fātiḥah?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a latecomer (masbuq) joins the prayer while the imam is standing, he should begin reciting Sūrat al-Fātiḥah immediately, without pausing to recite the opening supplication (duʿāʾ al-istiftāḥ) or the seeking of refuge (taʿawwudh). If the imam bows before he completes al-Fātiḥah, he follows the imam into the bow and leaves whatever remains of al-Fātiḥah — the imam bears it on his behalf.
It is stated in ʿUmdat al-Sālik (p. 47): "If a latecomer finds the imam standing and is confident that he has enough time to recite the taʿawwudh and al-Fātiḥah in full, he may do so. If he is uncertain, he should neither recite the opening supplication nor the taʿawwudh, but rather begin directly with al-Fātiḥah. If the imam bows before he completes it, he follows him into the bow — provided he had not already begun the opening supplication or the taʿawwudh. If he had begun either of them, he continues reciting al-Fātiḥah for as long as he spent on them." And Allah the Almighty knows best.