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.
What is the ruling on one who slept while firmly seated on the ground, regarding nullification of ablution?
The default ruling regarding sleep is that it nullifies ablution. An exception to this is one who slept while firmly seated on the ground; his ablution is not nullified by sleep if he wakes up while still firmly seated on the ground. And Allah the Almighty knows best.
Which is better for a traveler: fasting or breaking the fast?
Fasting is better, unless it causes hardship—in that case, breaking the fast is better.
Is it valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]