What is the ruling if a postpartum woman becomes pure before forty days; are acts of worship obligatory upon her, and is she permissible for her husband?
If the postpartum woman becomes definitely pure before forty days, she must perform the ritual bath and perform acts of worship as a pure woman does. What was prohibited for her also becomes permissible, so she becomes permissible for her husband after her bath. The minimum duration for postpartum bleeding is a moment (an instant), and its usual maximum is forty days. Reaching forty days is not a condition; rather, it is sufficient for the blood to stop or to see the white discharge (qassa bayda'). And Allah the Almighty knows best.
Is a woman sinful if she fasts out of shyness from her family while menstruating or in postnatal bleeding?
It is forbidden for a woman who is menstruating or in postnatal bleeding to abstain from food and drink with the intention of fasting. If she fasts out of shyness, she is sinful, as her fast is not valid.
However, if she refrains from eating and drinking without intending to fast, it is not forbidden, but she unnecessarily burdens herself without need.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
What is the ruling on discharges two or three days before the expected period of menstruation and the light-colored blood accompanying it? Must the woman abstain from prayer during this period?
If the total duration of these blood-tinged discharges reaches a day and a night (24 hours) or more, it is considered menstruation. If their total does not exceed 24 hours, it is not considered menstruation but is irregular bleeding (dam al-fasad). Each woman has specific cases for which she should ask the scholars. And Allah the Almighty knows best.