If a woman becomes pure from menstruation shortly after Fajr in Ramadan, what is required of her?
If a woman becomes pure (from menstrual period) after Fajr, even shortly after, it is recommended (but not obligatory) for her to refrain from eating and drinking for the rest of the day. However, she must make up for that day after Ramadan.
She will be rewarded for both refraining from eating (imsak) and making up the fast (qada) since she was menstruating for part of the day.
What is the ruling on performing voluntary (nafl) prayer during the time of istiwā' (the sun's zenith) on the day of Jumu‘ah (Friday), and is this ruling specific to someone who has come to the mosque to perform the Jumu‘ah prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to perform voluntary (nafl) prayer during the time of istiwā' (the sun's zenith, i.e., its highest point before noon) on the day of Jumu‘ah (Friday) — whether for someone who is attending the Friday prayer or someone who is not, and whether they are among the people obligated to attend it or not.
It is stated in Mughnī al-Muḥtāj (Vol.1/P.310): "The more correct position (al-aṣaḥḥ) is that prayer is permissible during this time without restriction — regardless of whether the person will be attending the Jumu‘ah prayer or not." And Allah, the Exalted, 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.
What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]