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]
Does tooth extraction during the day in Ramadan break the fast?
Simply extracting a tooth during the day in Ramadan does not break the fast. However, if water or blood enters the body cavity, the fast becomes invalid.
Whoever's fast is invalidated in this way 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 later.
It is preferable to postpone the extraction until nighttime or after Ramadan if possible.
What is the ruling on wiping the head during ablution from behind a barrier like a headscarf (hijab)?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. As for one who has a turban or headscarf on their head, it is permissible for them to wipe over it after wiping a part of their head in any place. This is easily done at the front of the head. This means the woman begins by wiping the front of her head from under the headscarf, then completes the wiping to the back of the head from over the headscarf. If the woman wipes over the headscarf on her head and the moisture reaches the scalp or some hair within the boundaries of the head, it suffices for wiping the head. And Allah the Almighty knows best.
Do pregnant and breastfeeding women have to fast?
Pregnant and breastfeeding women are required to fast. However, if fasting causes them harm or unusual hardship, they may break their fast but must make up for the missed days later.
If they break their fast solely out of fear for the fetus or the child, then they must both make up the fast and give fidyah (feeding a needy person for each missed day), as the benefit of breaking the fast was only for the child.