Is it a condition that one should offer two sacrifices for a male newborn?
It is desirable to offer two sheep for a male newborn, and one for a female newborn. Offering one sheep for the male newborn is also permissible as it observes the Prophet`s Sunnah in this regard.
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 prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible for a person, who vowed to offer two Rak`ahs (units of prayer) everyday for Allah`s sake, to do so after the Fajr (dawn) prayer?
In principle, a vow should be fulfilled as it was originally intended, and if its time lapses then, it should be fulfilled at any time because of the vow. Therefore, it is permissible to offer them after the Fajr prayer, and there is no prohibition in doing so. However, it is preferable for him to offer these two Rak`ahs at some other time to avoid the disagreement amongst the scholars in this regard.