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.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it permissible to give to the poor from among the People of the Book from the Udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
It is permissible to give to the poor among the People of the Book from a voluntary sacrifice (uḍḥiyyat taṭawwuʿ), just as it is permissible to give charity (ṣadaqah) to them. This opinion is a view (wajh) within the Shāfiʿī school, which was favored by al-Muḥibb al-Ṭabarī and Imam al-Nawawī. [See: Ḥāshiyat Ibn Qāsim al-ʿAbbādī ʿalā Tuḥfat al-Muḥtāj (Vol.9/P.365)]. And Allah Almighty knows best.
"I told my family at night: 'I will fast tomorrow as qaḍā' (a make-up fast),' but I forgot to make the intention before sleeping. Is my fast valid?"
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The intention is obligatory in acts of worship. For obligatory fasting, the required intention is to resolve to fast during the night [before dawn]. Its proper locus is the heart, while verbalizing the intention out loud in acts of worship is a sunnah — so that the tongue may align with the heart. If the intent behind the statement in question was the intention to fast, then it is valid; but if the intent was merely to inform someone, or reflected hesitation or doubt, then it is not valid.
It is stated in *Bushrā al-Karīm* (Vol.1/P.216): "It is a sunnah to verbalize the intention — that is, whatever has already been intended in the heart, whether an obligatory or a voluntary act — such as specifying the number of rak‘ahs, just before the opening takbīr — so that the tongue may assist the heart, and because this is further removed from whispered doubts (waswasah), and in order to accommodate the view of those who held it obligatory in every act of worship that requires an intention (even though this is a minority position), by analogy with Ḥajj."
Accordingly: if the intention to fast arose in your heart before the second adhān [i.e., before Fajr], then your fast is valid.
And Allah, the Exalted, knows best.