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 to make up for missed fast after the beginning of the second half of the month of Sha`ban (the month before Ramadan)?
Yes, it is permissible, but one who had missed fasts should hasten to make up for them. As for the Hadith mentioned in this regard, the prohibition is for offering absolute voluntary fasting. And Allah Knows Best.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
Should a woman who broke her fast because of delivery make up for missed fasting days before the next Ramadhaan, and what is the expiation due on her in case she delayed making up for them ?
She should make up for missed fasting days before the start of next Ramadan if possible, but if she didn`t while being able to, then she is obliged to make up for them along with feeding a needy person for each delayed day of the missed fasting days. However, if she wasn`t able to make up for the missed fasting days before the start of next Ramadan, she has to fast a day for every day that she missed, and no ransom is due on her. And Allah Knows Best.