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.
Which is better during the day in Ramadan: reciting the Quran or performing voluntary prayers?
A Muslim should establish a daily schedule for reciting the Quran in Ramadan.
Once they have completed their daily portion (known as a wird or hizb), they can engage in other acts of worship, including voluntary prayers (nawafil). Prayer itself is called "Quran", because a significant part of it involves reciting the Quran.
Allah says: "BE CONSTANT in [thy] prayer from the time when the sun has passed its zenith till the darkness of night, and [be ever mindful of its] recitation at dawn: for, behold, the recitation [of prayer] at dawn is indeed witnessed [by all that is holy]." [Al-Isra`/78]
What is the ruling on a person in a state of major impurity (junub) walking or eating before performing the ritual bath?
It is from the Sunnah for a Muslim to hasten to perform the ritual bath for major impurity. However, if he delays it, he does not sin provided he does not miss the prayer. It is permissible for the junub to walk, eat, drink, and sleep. It is recommended for him to perform ablution before these actions to reduce the state of impurity, although the best is for him to perform the ritual bath. And Allah the Almighty 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.