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.
What is the ruling on attending relatives` parties held in public halls, or hotels since if we don`t, we will be subjected to their admonition?
If such parties involve mixing between men and women, or forbidden acts such as listening to songs with sinful lyrics, then attending them is forbidden from the view point of Sharia since people`s admonition is nothing compared to Allah`s, The Almighty`s, wrath.
What is the ruling on ablution if vaginal discharge is expelled, and is it impure?
If these discharges exit from the external genitalia (apparent part of the vagina), they are not impure and do not invalidate ablution. If they exit from the internal part, they are impure and do invalidate ablution. If it is uncertain whether they are from the internal or external part, they are not impure and do not invalidate ablution.
The apparent part is what becomes visible when sitting, and what the husband's penis reaches during intercourse is considered part of the apparent. The internal part is what is beyond that. And Allah the Almighty 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.