Is it permissible for someone who has forgotten to mention the supplication pertaining to answering the call of nature to say it while in the toilet?
It is disliked for a Muslim to mention Allah while in the toilet, but he/she may recall the supplication in his/her head without uttering it; that is in case he/she had forgotten mentioning it before entering the toilet.
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.
A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
A woman went for Hajj while pregnant, gave birth after leaving Arafat, and was unable to perform the Tawaf Al-Ifadah. If she cannot stay until she becomes pure from postpartum bleeding (Nifas) and she is from a distant country, what is she liable for?
This woman is advised to leave Mecca in a state of Ihram if the caravan departs. Once she reaches a distance where returning to Mecca is not feasible, she should consider herself in a state of being prevented (Muhsar). She may then exit Ihram, and she is required to offer a sacrificial animal (Blood) at that location. Additionally, she must perform a compensatory Hajj at the earliest possible opportunity. And Allah Almighty Knows Best.