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.
A man wishes to offer more than one uḍḥiyah (sacrificial offering), and intends by these sacrifices "on behalf of everyone whom Allah and His Messenger love." Is this intention valid?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The uḍḥiyah (sacrificial offering) is not valid with this intention, because if the sacrificial animal is from sheep or goats, it suffices for one person only; and if it is from cattle or camels, it suffices for seven persons.
However, one may sacrifice it on his own behalf, and then gift the equivalent of its reward to whomever he wishes.
Imam ar-Ramlī (raḥimahullāh) says: "Ash-Shāfi‘ī (raḍiyallāhu ‘anh) said: It is within the vastness of Allah's bounty, the Exalted, that He rewards the one giving charity as well. From this, the scholars of the madhhab said: it is recommended for a person to intend the charity on behalf of his parents, for example — for Allah, the Exalted, will reward them, without this diminishing his own reward in any way." He then relates, as the relied-upon position, the permissibility of saying: "O Allah, convey the reward of what I have recited specifically to so-and-so, and to the Muslims generally." Az-Zarkashī said: "For reward varies in degree — its highest form is what one designates specifically, and its lowest form is what one dedicates generally [alongside others]." [End of quote from Nihāyat al-Muḥtāj]. And Allah, the Exalted, knows best.
Is it valid to perform the obligatory prayer while sitting?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Standing (Al-Qiyam) while having the ability to do so is one of the pillars (Arkan) of the prayer; the obligatory (Faridah) prayer is not valid without it. However, whoever is unable to stand may pray sitting down. As for voluntary (Nafilah) prayers, it is permissible to pray them sitting even if one is able to stand, but the one sitting receives half the reward of the one who prays standing. And Allah the Exalted knows best.
What is the ruling on swearing on the Holy Quran and breaking that oath?
It is impermissible to swear on the Holy Quran in vain, and it is also impermissible to subject it to such an act since breaking the oath after swearing on the Quran entails an expiation.