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 of Islamic Law regarding one who slaughters a ewe and it turns out to have been pregnant, and is it permissible to slaughter the ewe if one knows it is pregnant?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
If a person slaughters a ewe and it turns out to have been pregnant, the fetus becomes lawful (ḥalāl) by virtue of its mother's slaughter (tabaʿan li-ummihā).
It is stated in Mughnī al-Muḥtāj (Vol.6/P.158): "A fetus found dead [after the mother's slaughter], or found alive but in a state resembling that of a slaughtered animal [i.e., dying shortly after], becomes lawful — whether or not it had grown fur — provided it is found in the womb of a mother that was lawfully slaughtered, whether her slaughter was by cutting the throat, or by an arrow or hunting dog sent after her. This is based on the ḥadīth: 'The slaughtering of the fetus is [effected by] the slaughtering of its mother' [narrated by al-Tirmidhī, who graded it ḥasan, and by Ibn Ḥibbān, who graded it ṣaḥīḥ] — meaning that the slaughter which rendered the mother lawful renders the fetus lawful as well, by virtue of following her; and because the fetus is one of her constituent parts, and her slaughter renders lawful all of her parts."
This ruling differs, however, from the case of one who knows from the outset that the ewe is pregnant [and intends to sacrifice her specifically as the udḥiyah while pregnant] — in which case, according to the Shāfi'ī school, she does not fulfill the requirement of a valid sacrifice.
It is stated in Ḥāshiyat al-Bujayrimī 'alā al-Khaṭīb (Vol.4/P.335): "A pregnant animal does not fulfill the requirement [of a valid sacrifice], and this is the authoritative position (al-mu'tamad), because pregnancy diminishes the quality of the meat. As for why such an animal is nevertheless counted as complete [i.e., fully valid] in matters of zakāh, that is because the intent there is reproduction (nasl), not the quality of the meat.". And Allah, the Most High, knows best.
What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
What is the ruling on one who wiped over his leather socks (*khuff*) while resident and then traveled, or wiped while traveling and then became resident? And likewise, what is the ruling on one who incurred a minor ritual impurity (*ḥadath aṣghar*) while resident, then traveled and wiped while traveling?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever wipes over his leather socks (khuffayn) while resident and then travels, or wipes while traveling and then becomes resident, before a day and a night have passed in both cases, completes the wiping period of a resident. If he wipes while resident and then travels after a day and a night have passed, he must remove the socks, because the period has ended. Likewise, if he wipes while traveling and then becomes resident after a day and a night have passed, he must remove them as well.
Whoever breaks his wuḍūʾ while resident and then wipes while traveling takes the ruling of a traveler as regards the duration of wiping, so long as he does not become resident. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.15): “If he wipes over both [socks] or one of them while resident and then travels, or wipes while traveling and then becomes resident, or doubts whether he began the wiping while traveling or while resident, he completes only the wiping period of a resident. But if he broke his wuḍūʾ while resident and wiped while traveling, he completes the period of a traveler, whether or not the full time of a prayer had passed over him while resident.” And Allah Almighty knows best.