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.
Is it permissible for a wife to boycott (not to attend to his different needs) her husband?
It isn`t permissible for the woman to boycott her husband unless he is the reason behind that, and it is recommended that both spouses seek the advice of righteous people to make reconciliation.
Is it permissible to pay the Fitr Zakah (obligatory charity) of Ramadan on behalf of a dead person?
The Fitr Zakah of Ramadhaan isn`t due on one who had passed away before the sunset of the last day of Ramadan. And Allah 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.