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 the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
What should a woman who delayed making up for missed fast, due to menstruation, till the start of the next Ramadan?
Whosoever broke fasting in Ramadan, and was able to make up for it, but didn`t until the next Ramadan started, is obliged to make up for the missed days, and to pay the ransom as well. However, if he/she wasn`t able to before next Ramadhaan due to an excuse, then he/she should only make up for the missed days. And Allah Knows Best.
Is it permissible for a woman to visit the doctor while in her `Iddah (waiting period)?
It is permissible for her to do that during day time, but it is impermissible for her to leave her house at night except for a sound reason. And Allah Knows Best.