How many Rak`ahs (unit of prayer) are offered in Witr prayer?
All perfect praise be to Allah, The Lord of The Worlds Witr (an odd number prayer performed between Isha`a and Fajr) is offered with a minimum of one Rak`ah, and a maximum of eleven, but offering three Rak`ahs is the minimum of its complete form. And Allah Knows Best.
What is the ruling on a Friday sermon in which the khaṭīb did not explicitly exhort the congregation to be conscious of Allah (taqwā) in both sermons, but sufficed with commanding them to obey Allah and refrain from disobeying Him?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
For the Friday sermon (khuṭbat al-Jumʿah) to be valid, certain essential pillars (arkān) must be fulfilled. Among these is the exhortation to be conscious of Allah (waṣiyyah bi-taqwā Allāh), which must be present in both sermons. Alongside this pillar, the praising of Allah (ḥamdallah) and the sending of blessings upon the Messenger of Allah ﷺ are equally required.
Shaykh al-Islām Imām Ibn Ḥajar al-Haytamī, may Allah have mercy upon him, states: "These three are pillars in each of the two sermons, because each sermon is independent and separate from the other." [Tuḥfat al-Muḥtāj,Vol.4/P.447]
It is not a condition that the exhortation be expressed in any specific wording, nor is it required that the word "taqwā" itself be used — such as saying "I exhort you to be conscious of Allah." Rather, this pillar is fulfilled by any expression that contains a command to obey Allah the Almighty and to abstain from what He has prohibited.
Imām al-Khaṭīb al-Sharbīnī, may Allah have mercy upon him, states: "The third pillar is the exhortation to taqwā... The specific wording of this exhortation is not required, according to the most correct view, because the purpose is admonition and the urging of obedience to Allah the Almighty. Therefore, any expression that conveys admonition suffices — whether long or short — such as: 'Obey Allah and be ever mindful of Him.'" [Mughnī al-Muḥtāj,Vol.1/P.550]
Accordingly, what the khaṭīb has done — by commanding obedience to Allah and forbidding disobedience to Him in both sermons — is valid and sufficient. And Allah the Almighty knows best.
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.