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.
Is it permissible for a pious Muslim woman to stay with her husband who had quit praying out of laziness?
Quitting prayer is one of the major grave sins that come after disbelieving in Allah, but the wife of such a person isn`t considered divorced, rather, she should exert all her efforts in order to bring him back to the way of Islam. However, if his sin is likely to lure her from the way of Islam, then she had better separate from him by lawful means such as Mokhal`aa (When a wife pays a compensation for her husband in return for divorcing her). Moreover, if she exercises patience, and remains steadfast on her faith, then there is no harm in doing that.
Is it permissible for women to attend Tarawih prayer in the mosque?
Yes, it is permissible for women to attend Tarawih prayer in the mosque, provided they observe modesty, proper covering, and avoid mixing with men.
The Prophet ﷺ said: "Do not prevent the female servants of Allah from the mosques of Allah." [Bukhari and Muslim]
What is the ruling on Jumu‘ah (Friday) prayer for a traveler, and what are the conditions for it to be waived from him?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Jumu‘ah (Friday) prayer is not obligatory upon a traveler, whether on a long or short journey, provided that — according to the Shāfi‘ī school — he departs from his place of residence before the time for Fajr prayer begins, and that he does not intend to stay in the place he travels to for four days or more, excluding the day of arrival and the day of departure. If he intends to stay longer than that, he may not make use of the travel concession simply by arriving in that town. If he begins his journey after the adhān for Fajr has already been called, then Jumu‘ah prayer remains obligatory upon him, whether in his own town or in any town where Jumu‘ah is being held.
It is stated in Bushrā al-Karīm (Vol.1/p.383), from the books of the Shāfi‘ī school: "Jumu‘ah [prayer] is not obligatory upon a traveler on a permissible journey, whether long or short, if he departs from his place of residence before Fajr."
A "short journey" refers to travel covering a distance shorter than that of a long journey — that is, less than (81 km). The traveler begins to be entitled to travel concessions once he passes beyond the built-up limits of his town. And Allah, the Exalted, knows best.