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.
I can`t afford to get married, what should I do to curb my sexual drives?
You should offer a lot of voluntary fasting, keep busy with useful and permissible acts and make supplication to Allah, The Exalted.
What is the virtue of performing ‘Umrah in Ramadan?
Ibn ‘Abbas narrated: "When the Prophet ﷺ returned from his Hajj, he said to Umm Sinan Al-Ansariyyah: ‘What prevented you from performing Hajj?’ She replied: ‘Abu So-and-so (referring to her husband) had two camels—he performed Hajj on one of them, and the other was used to irrigate our land.’ The Prophet ﷺ then said: ‘Performing ‘Umrah in Ramadan is equivalent to Hajj with me.’" [Narrated by Al-Bukhari]
The Prophet ﷺ also said: "An ‘Umrah in Ramadan is equivalent to a Hajj." [Narrated by Al-Tirmidhi]
For those who miss the opportunity to perform ‘Umrah in Ramadan, there are many other ways to earn great rewards. One of them is praying Fajr in congregation, then remaining in the mosque remembering Allah until sunrise, and praying two rak‘ahs.
The Prophet ﷺ said: "Whoever prays Fajr in congregation, then sits remembering Allah until the sun rises, and then prays two rak‘ahs, will receive the reward of a complete Hajj and ‘Umrah—complete, complete, complete." [Narrated by Al-Tirmidhi]
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.