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 obligatory to make up all missed prayers?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
Making up missed prayers (qaḍāʾ) is a sharʿī obligation, established by the practice of the Prophet ﷺ himself — when the disbelievers preoccupied him on the Day of the Trench and he missed the ʿAṣr prayer, he made it up afterward. This is further affirmed by the ḥadīth: "Fulfil what you owe to Allah, for Allah is most deserving of being fulfilled." (Reported by al-Bukhārī.)
Accordingly, a person who has missed prayers should set aside his voluntary and Sunnah prayers and replace them with make-up prayers in their stead. There is no objection to making up one missed prayer alongside each obligatory prayer that is performed — praying the equivalent missed prayer together with each current obligatory prayer as a practical and manageable way of gradually clearing one's debt of missed prayers. And Allah the Almighty knows best.
Is the one who gives up on marriage because he can`t afford it considered sinful?
Marriage is desirable, but one who can`t afford it isn`t considered sinful. However, he should supplicate to Allah, and seek His forgiveness.
What is the ruling of Islamic Law on one who died owing debts and left no wealth? Is it obligatory upon the heirs to settle these debts?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The general rule is that if a person dies owing rights to other people, such as debts, these are settled from his estate, if he left any wealth, before the estate is divided. The Prophet (peace and blessings be upon him) said: “The believer's soul is suspended by his debt until it is settled for him.” Graded ḥasan by al-Tirmidhī. Repayment of debts takes precedence over the heirs’ right to inheritance.
If the deceased left no estate, or left wealth that was insufficient to cover his debts, it is not obligatory for the heirs to pay from their own wealth, but it is recommended for them to do so, because the deceased’s dhimmah (legal liability) remains occupied by the debt. It is reported in some narrations that he remains held in suspension until his debt is paid, and it is not part of filial righteousness for a child to leave his father’s dhimmah burdened with debt.
All of the children may contribute to settling the debt on behalf of their father and cooperate in doing so, even in installments, according to their ability. And Allah Almighty knows best.