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 making up missed fasts from many years?
A Muslim must make up for any missed fasts, as they are a debt owed to Allah. The Prophet ﷺ said:
"The debt owed to Allah is more deserving of being fulfilled." [Narrated by Muslim]
Whoever has missed fasts must make them up as long as they are alive and capable of fasting.
What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
Is it permissible for a woman to offer the obligatory prayer after Adhaan (call for prayer), and before Iqamah (The announcement that the prayer is about to begin) in the mosque?
Yes, it is permissible for a woman to offer the obligatory prayer immediately after the Adhan and before the Iqamah in the mosque. And Allah Knows Best.