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 someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
What are the Sharia consequences when the sacrificial time for the uḍḥiyyah comes to an end?
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
If the sun sets on the final day of Tashriq (the 13th of Dhu al-Hijjah) and the Udhiyah (sacrificial animal) has not yet been slaughtered, its designated time has expired. Should a person slaughter it after this point, it will not be counted as an Udhiyah.
However, if the sacrifice was a vowed one (Mandhurah), they are strictly obligated to slaughter it as a makeup act (Qada’), and its meat must be distributed entirely according to the rules governing vowed sacrifices.
It is stated in Bushra al-Karim (p. 702): "If one slaughters after sunset on the final day [of Tashriq]... it does not count as an Udhiyah, unless it was a vowed sacrifice, in which case it is fulfilled as a makeup act (Qada’)." And Allah the Almighty Knows Best.
What is the ruling of Islamic Law on a person who abandons prayer after reaching puberty—is he required to make them up?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Making up missed obligatory prayers is an Islamic duty just as performing them in their proper time is obligatory, and taking care of them takes precedence over performing voluntary prayers. This is established by the practice of our Supreme Prophet (peace and blessings be upon him) when the polytheists distracted him on the Day of the Trench from performing the Asr prayer, so he made it up afterward, as well as the Hadith: "Pay Allah what is due to Him, for Allah is most deserving of fulfillment." (Recorded by Al-Bukhari)
Furthermore, it is valid to make up missed prayers at any time.
Whoever has missed a number of prayers and does not know their exact count, it is obligatory upon them to sincerely repent and exert their utmost effort to estimate their number. If they are unable to determine the exact count, they should base it on what is most probable according to their best judgment. They should then make them up gradually; if one performs one missed prayer alongside every current obligatory prayer, the matter becomes easy and manageable, and with the passage of time, one will complete what is owed, Allah willing. And Allah Almighty knows best.