What is the ruling on someone who is uncertain whether he omitted one of the ab‘āḍ of the prayer, such as being uncertain whether he omitted the first tashahhud?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The ab‘āḍ include the middle tashahhud and the qunūt in Fajr prayer — for which sujūd as-sahw (the prostration of forgetfulness) is prescribed if left out. Whoever is uncertain, during the prayer, whether he omitted one of these elements, should proceed on the assumption that he did not perform it, and should perform sujūd as-sahw accordingly.
It is stated in ‘Umdat as-Sālik (p. 63): "If he is uncertain... whether he omitted a specific ab‘āḍ element, or whether he performed sujūd as-sahw, or whether he prayed three or four rak‘ahs — he proceeds on the assumption that he did not do it, and performs sujūd as-sahw."
The original principle (al-aṣl) for someone uncertain about [having performed] the first tashahhud is that he assumes he did not perform it. And Allah, the Exalted, knows best.
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 a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
What is the ruling of Islamic Law on applying perfume before entering the state of ihram
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Applying some perfume (ṭīb) before entering the state of iḥrām does not affect the validity of the Ihram, even if its trace remains after the iḥrām has begun. Indeed, it is sunnah for the pilgrim performing Ḥajj or ʿUmrah to perfume himself before iḥrām.
The scholar Nawawī al-Jāwī (may Allah have mercy on him) said: “The third of them is applying perfume to the body shortly before it, that is, before iḥrām, whether the one entering iḥrām is male or otherwise, young or old, married or unmarried. The recommendation applies after performing the ritual bath (ghusl), and it is fulfilled with any perfume whatsoever, though the best is musk, mixed with rose water or the like. There is no objection to the perfume remaining on the body after iḥrām; however, if a woman becomes bound by the mourning observance (iḥdād) after entering iḥrām, she must remove it. As for perfuming the garment, it is merely permissible, not recommended, according to the reliable position (al-muʿtamad). But if one removes his perfumed garment while the scent is still present in it and then wears it again, he is liable for the fidyah (expiation).” [Nihāyat al-Zayn, Vol.1/212]. And Allah Almighty knows best.