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.
Should vowed fast be offered in consecutive days, or not?
Vowed fast should be offered in line with what was originally intended by the vow-maker, either consecutively, or not.
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.
A man has raped a woman and she gave birth to a baby boy. To whom should that baby be attributed?
All perfect 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.
First of all, the adulterer must be punished according to the rules of Sharia and the baby isn`t attributed to him. Rather, it is attributed to the mother. This adulterer has committed a grave sin and incurred the wrath of Allah. We advise him to make sincere repentance to Allah and pray that Allah forgives him. And Allah The Almighty Knows Best.