Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
Are school exams a valid excuse for breaking the fast in Ramadan?
School and university exams are not considered a valid excuse for breaking the fast, as most students take their exams while fasting without experiencing extreme hardship. Fasting does not conflict with exam preparation, and a Muslim seeks strength in obedience to Allah for both worldly and spiritual matters.
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 is the ruling on applying perfume while fasting?
Applying perfume does not break the fast. However, it is better to avoid it, as fasting is a practice of simplicity and restraint, while perfume is a form of luxury.