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.
I vowed to give a specific charity if a certain matter came to pass — what is the ruling on giving that charity before the matter is realised?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
Fulfilling a vow (nadhr) is obligatory, in accordance with the word of Allah the Almighty: "And let them fulfil their vows." [Al-Ḥajj/ 29] And the saying of our master the Messenger of Allah ﷺ: "Whoever vows to obey Allah, let him obey Him; and whoever vows to disobey Him, let him not disobey Him." (Reported by al-Bukhārī.)
The Shāfiʿī scholars distinguished between a financial vow (nadhr mālī) and a bodily vow (nadhr badanī). They permitted the fulfilment of a financial vow to be brought forward — before the stipulated condition is met — but did not permit the same for a bodily vow, which may only be fulfilled after the condition has actually been realised.
Shaykh al-Islām Imām Zakariyyā al-Anṣārī, may Allah have mercy upon him, states: "It is permissible to bring forward the fulfilment of a financial vow before the condition stipulated in it is met — such as saying: 'If I am healed, I vow to free a slave' or 'to give such-and-such in charity' — just as it is permissible to pay zakāh in advance. This is unlike a bodily vow, such as fasting." [Asnā al-Maṭālib, vol. 4/P.246]
Imām al-Bājūrī, may Allah have mercy upon him, states: "Like expiation other than fasting, a financial vow — such as saying: 'If Allah heals my sick one, I vow to free a slave for the sake of Allah,' or 'If Allah heals my sick one, I vow to free a slave on the Friday following the recovery' — it is permissible to bring it forward before the recovery in the first case, and before the Friday following the recovery in the second case." [Ḥāshiyat al-Bājūrī ʿalā Sharḥ Ibn Qāsim, Vol.2/P.596] And Allah the Almighty knows best.
What should someone do if they fasted for 30 days in their country, then traveled to a place where people are still fasting?
If a person completes 30 days of fasting in their country and then travels to another country where people are still fasting, they should continue fasting with them until they observe Eid. Even if they have already completed 30 days, he/she should abstain from eating and drinking and join the people of that country because he/she has now become part of that community.
Do ear and nose drops break the fast?
Yes, ear and nose drops break the fast because both the nose and ears are open passages to the body cavity.