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.
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.
What is the ruling on one who vowed not to speak to a certain person, then forgot his vow and spoke to him?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever swears an oath or makes a vow to abstain from something has a choice: if he wishes, he may keep to his vow, or if he wishes, he may offer the expiation of an oath (kaffārat yamīn). The Prophet (peace and blessings be upon him) said: “The expiation for a vow is the expiation for an oath.” Narrated by Muslim. This type of vow is called a nadhr al-lajāj (a vow made in stubbornness or anger).
If a person makes a vow and then forgets it, nothing is due from him, for forgetfulness is among the excuses that lift legal responsibility (taklīf) from a Muslim. This is based on the saying of the Prophet (peace and blessings be upon him): “Actions are judged only by intentions, and every person will have only what he intended.” [Narrated by al-Bukhārī]. There is no intention for the one who forgets or errs. It is also based on the report: “Indeed, Allah has pardoned for my Ummah mistakes, forgetfulness, and what they are compelled to do.” Narrated by Ibn Mājah and others, and graded authentic by Ibn Ḥibbān and al-Ḥākim.
It is stated in ʿUmdat al-Sālik (p. 243), one of the books of the Shāfiʿī school: “Whoever swears, [for example], ‘I will not enter the house,’ and then enters it forgetfully, ignorantly, under compulsion, or being carried, he does not break his oath.” And Allah Almighty knows best.
Should a person feel pleased, or have a virtuous vision after offering Istikhara (guidance prayer) in order to do what he/she had offered it for?
The result of the Istikhaarah is not necessarily that a person sees something (in his dream), or feels pleased, but the most important result of the Istikhaarah is whether a person is enabled to do a given matter or not.