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 should someone do whose gums are bleeding?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Whoever experiences bleeding gums while fasting must spit until his saliva runs clear — that is, until the bleeding has stopped — and then rinse his mouth to purify it.
If any of the blood enters his internal cavity (jawf) unintentionally, then his fast remains valid. And Allah, the Exalted, knows best.
What is the ruling on reciting the takbīr from Sūrat aḍ-Ḍuḥā to Sūrat an-Nās upon completing the recitation of the Qur'an (khatm)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is recommended to recite the takbīr from the beginning of Sūrat aḍ-Ḍuḥā through to the end of Sūrat an-Nās, and this is the recitation practice of the people of Makkah.
It is stated in Nihāyat az-Zayn (p. 65): "It is sunnah to begin each sūrah with the basmalah, since it constitutes a verse of it. It is also sunnah to say, before each sūrah — from aḍ-Ḍuḥā to the end of the Qur'an — 'Lā ilāha illallāh, wallāhu akbar' (There is no god but Allah, and Allah is the Greatest), based on what has been narrated regarding Imam ash-Shāfi‘ī (raḍiyallāhu ‘anh), who heard a man reciting this takbīr in prayer, and said to him: 'You have done well, and you have hit upon the sunnah.'"
And Allah, the Exalted, knows best.