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 if the follower (maʾmūm) stands up for the third rakʿah out of forgetfulness while the imam has sat for the middle tashahhud?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If the imam sits for the tashahhud while the follower (maʾmūm), out of forgetfulness, stands up for the third rakʿah, he is obliged to return to his sitting position, since following the imam is obligatory. In this case, no prostration of forgetfulness (sujūd al-sahw) is required of him. If, however, he fails to return, his prayer is rendered invalid.
Shaykh al-Islām Imām Zakariyyā al-Anṣārī, may Allah have mercy upon him, states: "If the follower stands up alone out of forgetfulness, he is obliged to return, since following the imam is obligatory... If he does not return, his prayer is rendered invalid, due to his departure from what is obligatory." [Asnā al-Maṭālib,Vol.1/P.190] And Allah the Almighty knows best.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.
I bought an apartment, and I am saving money to pay the remaining balance of its price — is zakāh obligatory on this money?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Zakāh is obligatory on all saved/hoarded wealth. Once the total wealth reaches the niṣāb (minimum threshold liable for zakah— equivalent to the value of 85 grams of pure 24-karat gold) and a full ḥawl (lunar year) has elapsed over it, zakāh becomes obligatory at a rate of (2.5%) — even if the wealth is earmarked for basic future needs, and even if the wealth's owner is in debt. Debt does not prevent the obligation of zakāh, nor is it deducted when calculating the zakāh due, based on the general and unrestricted wording of all the Qur'anic verses commanding zakāh, which draw no distinction between someone in debt and anyone else.
It is stated in ‘Umdat as-Sālik, from the books of the Shāfi‘ī school: "If someone possesses exactly the niṣāb, and owes an equivalent amount in debt, zakāh remains obligatory on what is in his possession, and the debt does not prevent this obligation" — meaning, the obligation of zakāh on what is presently in his possession.
The ḥawl (annual cycle) recognized for zakāh, as well as for the other sharī‘ah obligations that Allah, the Exalted, has imposed upon Muslims, is the Hijrī (lunar) year. And Allah, the Exalted, knows best.