What is the ruling on forgetting an integral of the prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whoever forgets an integral (Rukn) of the prayer and remembers it before reaching the equivalent point in the subsequent unit (Rak'ah), must return to it (i.e., perform it) and complete his prayer, then perform the prostration of forgetfulness (Sujud al-Sahw) at the end of his prayer. However, if he remembers it after reaching the equivalent point in the subsequent unit, the Rak'ah in which the integral was forgotten is invalidated, and the current unit takes its place; he then completes a full Rak'ah to compensate and performs the prostration of forgetfulness.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.1/P.543): 'If he becomes certain at the end of his prayer, or after the Salam—provided the interval is not long according to custom and he has not stepped on an impurity—that he omitted a prostration from the final Rak'ah, he must perform it and repeat the Tashahhud, as his previous Tashahhud occurred before its proper place. If the omission was from a Rak'ah other than the final one, he must perform a full Rak'ah, because the deficient unit was completed by a prostration from the subsequent one, rendering the rest of that subsequent unit void.' And Allah the Exalted knows best.
Must a person refrain from eating for the rest of the day if they break a fast of a vow (nadhr) or a make up fast (qada)?
Whoever observes a vowed fast (nadhr) or a makeup fast (qada) is prohibited from breaking it without a valid excuse. If they break it without a legitimate reason, they are sinful.
However, they are not required to refrain from eating for the rest of the day, because such restraint is only required out of respect for the month of Ramadan, not for other types of fasting.
Why was the exact date of Laylat al-Qadr concealed?
The wisdom behind this is to encourage Muslims to strive in worship throughout all the nights of Ramadan, or at least in the last ten nights. By doing so, they will earn the reward of observing Laylat al-Qadr as well as the reward of worshiping on other blessed nights.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.