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.
What is the ruling on water present on the floor of a toilet/bathroom?
The default ruling is the purity of this water present on the bathroom floor. If one is certain or strongly suspects its impurity, then one washes whatever part of the body or clothing this impure water has touched. If one doubts its impurity, the default is purity, and we do not rule it impure based on mere doubt. And Allah the Almighty knows best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.