Should missed Sunnah prayer be made up?
Making up missed voluntary acts of worship is from Sunnah.
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 on performing the Witr prayer as a single rak`ah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to perform the Witr prayer as a single unit (rak‘ah). It was narrated from Ibn ‘Umar that a man asked the Messenger of Allah ﷺ about the night prayer, and the Messenger of Allah ﷺ replied: 'The night prayer is offered two by two (mathna mathna). If one of you fears the approach of dawn, let him pray a single rak‘ah to make what he has prayed odd-numbered (Witr) for him.' (Related by al-Bukhari & Muslim)). However, limiting the prayer to only one rak‘ah is considered 'contrary to the preferred way' (Khilaf al-Awla).
It is stated in Al-Minhaj al-Qawim Sharh al-Muqaddimah al-Hadramiyyah (p. 137): 'The minimum of Witr is one rak‘ah, but limiting it to that is contrary to what is best.'
The most complete form of Witr is eleven units, while the minimum level of 'perfection' is three units. It is stated in ‘Umdat al-Salik (p. 60): 'The minimum of Witr is one rak‘ah, and its maximum is eleven, performing the taslim (salutation) after every two units. The lowest level of perfection is three units with two separate taslims (meaning 2+1).' And Allah the Exalted knows best.
What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]