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 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 to include others in the reward of one`s sacrifice?
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for the person offering an Udhiyah (sacrificial offering) to include others in the spiritual reward of the sacrifice. However, it is not permissible for multiple people to jointly share the purchase price of a single sheep or goat, unless one person gifts the money to the other.
It is stated in Mughni al-Muhtaj (6/137) by Al-Khatib al-Shirbini:
"If a person includes someone else in the reward of his sacrifice and slaughters it on his own behalf, it is permissible."
It should be carefully noted that including someone else in the reward of one's sacrifice is completely distinct from offering a sacrifice on behalf of someone else. And Allah the Almighty Knows Best.
What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.