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.
What is the ruling on undoing braids of hair during the ritual bath?
It is not a condition to undo braids if the water reaches all the hair and penetrates to its base. If the water does not reach except by undoing the braids, then it is obligatory to undo them for the water to reach. And Allah the Almighty knows best.
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.
What is the ruling on the Friday bath (ghusl al-Jumu'ah)?
The Friday bath is a confirmed Sunnah, based on the Prophet's (peace be upon him) saying: "Whoever performs ablution on Friday, it is good for him, and whoever takes a bath, bathing is better." (Reported by Abu Dawud and al-Tirmidhi who said it is a hasan hadith). It is recommended for everyone who wants to attend the Friday prayer, even if they are not from its usual attendees, like a woman or a boy.
If a person is in a state of major impurity (junub) and intends by his bath both lifting the major impurity and the Friday bath, he achieves both. If he intends only one of them, he achieves only what he intended. And Allah the Almighty knows best.