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.
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.
Does touching one's wife invalidate ablution?
Touching the wife according to the Shafi'ee's doctrine invalidate husband's ablution. And Allah Knows Best.
Is it allowed for a Muslim woman to wear nail polish?
Praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Nail polish is an adornment that a woman is allowed to wear for her husband, and not in the presence of non-Mahram men. However, during ablution water needs to reach the nails, so it isn`t possible to perform 'Wudu (ablution) with nail polish on. Therefore, it isn`t valid to make Ghusl Jnabah (Ghusl performed after sexual intercourse or ejaculation), Ghusl after menstruation and Ghusl after Nifas (blood of childbirth) while wearing nail polish. And Allah The Almighty Knows Best.