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 for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
Is it permissible to delay menses by using medication in order to fast Ramadhaan?
It is permissible for a woman to use medication in order to delay her menses so that it becomes eligible for fasting Ramadhaan, but it is better that she doesn`t do so, and taking the medication is prohibited if she, or her doctors knew that it involves risk on her health. And Allah Knows Best.
I became ill while fasting and had to take an intramuscular injection twice on two consecutive days during Ramadan. I continued my fast as usual, as I was told that intramuscular injections do not break the fast. Please advise me so that I can know the correct ruling.
Subcutaneous and intramuscular therapeutic injections are not considered as invalidators of fasting because they do not enter the stomach through an open passage. However, intravenous injections containing nutritional fluids do invalidate the fast, as they are akin to food and drink in purpose. Therefore, your fast is valid. And Allah Knows Best.