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.
"If the fidyah becomes obligatory upon a pregnant or nursing woman because she broke her fast out of fear for her child, is it obligatory from her own wealth, or from her husband's wealth?"
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The fidyah (ransom/compensation payment for breaking the fast) is obligatory from the wife's own wealth, and is not obligatory upon the husband unless he voluntarily chooses to pay it on her behalf.
It is stated in Mughnī al-Muḥtāj (Vol.2/P.174): "If the two [the pregnant woman and the nursing mother] fear for the child alone — such as a pregnant woman fearing miscarriage, or a nursing mother fearing that her milk supply would decrease, thereby endangering the child — then both the qaḍā' (making up the missed fast) and the fidyah become obligatory upon them, to be paid from their own wealth." And Allah, the Exalted, knows best.
Is it permissible for women to gather in one of their homes to pray Tarawih?
Yes, it is recommended (mustahabb) for women to pray Tarawih in congregation if they gather, even if it is not in the mosque.
In fact, praying at home is better for them, as it avoids the potential concerns associated with going to the mosque.
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.