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.
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 performing istinja' before every ablution?
Istinja' is not from the conditions for the validity of ablution. It is only obligatory for prayer when there is impurity from urine or stool on the private part, or if there is fear of the impurity spreading to the body or clothing. And Allah the Almighty knows best.
Is a person who forgot to make up missed fasts until the next Ramadan began required to pay expiatory compensation (Fidyah) alongside the makeup fast (Qada')?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever forgets to make up missed fasts of Ramadan (Qada') until the following Ramadan begins incurs no sin, pursuant to the statement of the Messenger of Allah (peace and blessings be upon him): "Indeed, Allah has pardoned for my nation their mistakes, their forgetfulness, and that which they are coerced into doing." [Narrated by Ibn Majah, and Al-Bayhaqi in Al-Sunan Al-Kubra]
Furthermore, such an individual is not obligated to pay a expiatory compensation (Fidyah). It is stated in Bushra Al-Karim (p. 580)—one of the authoritative Shafi'i jurisprudential texts: "As for delaying it [the makeup fasts] due to a valid excuse—such as travel, breastfeeding, forgetfulness, or ignorance of the prohibition of delay (even for one living among scholars)—no Fidyah is required. This is because delaying performance during the actual month is permissible due to these excuses; hence, delaying makeup fasts is even more permissible, even if it continues for years."
And Allah Almighty knows best.