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]
What is the ruling of Islamic Law on someone who wakes up in a state of janābah (major ritual impurity) near the very end of the prayer's designated time, during cold weather — should he heat water in order to perform ghusl, even though the prayer's time will expire as a result, or should he perform tayammum instead?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If the water is cold, and cannot be used due to fear of harm that is not ordinarily tolerable, or that would result in illness, then in this case it becomes obligatory to heat the water — even if heating it causes the time for Fajr to expire — and no sin is incurred in doing so, due to his valid excuse. He may not resort to tayammum (dry ablution) instead, since water remains available [and merely needs to be heated].
Imam Shihāb ad-Dīn Aḥmad ar-Ramlī (raḥimahullāh) said: "He was asked regarding a person who, if he were to use cold water, would experience harm that permits tayammum, and who has access to something with which he could heat the water — but if he heats it, the prayer's time will expire. Is it obligatory for him to heat it even if the time expires, or should he pray with tayammum within the prescribed time? He answered that it is obligatory for him to heat the water, even if the time for that particular obligatory prayer expires." [Fatāwā ar-Ramlī, Vol.1/P.98]
Imam al-Bājūrī (raḥimahullāh) said in his Ḥāshiyah on Sharḥ Ibn Qāsim (Vol.1/P.173): "And if he fears [harm] from using cold water, and is currently unable to heat it, but knows of a place where firewood is available, such that if he were to go there he would not return until after the prescribed time has expired — what appears [to be the correct position] is that it is obligatory for him to go and seek the firewood, even if the time expires as a result, as this is the position ultimately settled upon by ar-Ramlī, and as related from him by Ibn Qāsim." And Allah, the Exalted, knows best.
Does an internal medical examination for a woman affect her fast?
An internal medical examination for a woman invalidates the fast because it involves the entry of a foreign object into the body cavity (jauf) while fasting.
In this case, the woman must refrain from eating and drinking for the rest of the day out of respect for Ramadan and make up for the missed fast after Ramadan.
Such an examination should be avoided in Ramadan and other months unless absolutely necessary, as exposing the private parts is only permissible in cases of necessity.
If necessary, a woman should seek a Muslim female doctor first. If one is unavailable, she may see a female doctor from the People of the Book (Jews and Christians). If neither is available, she may consult a trustworthy and competent Muslim male doctor.
Should missed Sunnah prayer be made up?
Making up missed voluntary acts of worship is from Sunnah.