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.
What is the ruling on the intention of fasting, where is its place, and when is its time?
The intention is a pillar of acts of worship; it is essential, and worship is not valid without it.
Its place is in the heart, and verbalizing it is recommended so that the tongue reminds the heart. Its meaning is to be determined to abstain from nullifiers of fasting during the upcoming day with the intention of worship and obedience to Allah Almighty. This meaning is naturally present in every Muslim on every night of Ramadan, so there is no need for obsessive doubts. If one says, "I intend to fast tomorrow for the sake of Allah," it removes any doubts.
Its time is from after sunset until before the true dawn.
What is the ruling on performing voluntary (nafl) prayer during the time of istiwā' (the sun's zenith) on the day of Jumu‘ah (Friday), and is this ruling specific to someone who has come to the mosque to perform the Jumu‘ah prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to perform voluntary (nafl) prayer during the time of istiwā' (the sun's zenith, i.e., its highest point before noon) on the day of Jumu‘ah (Friday) — whether for someone who is attending the Friday prayer or someone who is not, and whether they are among the people obligated to attend it or not.
It is stated in Mughnī al-Muḥtāj (Vol.1/P.310): "The more correct position (al-aṣaḥḥ) is that prayer is permissible during this time without restriction — regardless of whether the person will be attending the Jumu‘ah prayer or not." And Allah, the Exalted, knows best.
What is the ruling on congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.