What is the ruling on someone who perform their prayer after finishing it because they believe they missed a Rak'a, a prostration, or that they did not perform it correctly (thinking their prayer was invalid)?
If he was sure that his prayer is void then reperforming it is an obligation along with figuring out the reason of invalidity so long as this wasn't out of uncertainty. And Allah Knows Best.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
Is it permissible to make up for the missed fasts of the deceased?
A deceased`s missed fasts should be made up for by his/her guardian. It is also permissible to make up for the missed fasts of a deceased relative, and to pay a ransom in expiation for the latter`s missed fasts, which is feeding a needy person for every missed day. However, the guardian`s permission need to be sought by the non-relatives of the dead to fast on his behalf. And Allah Knows Best.
If husband doesn`t pray, but wife does, is their marriage contract considered valid or not?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Not observing daily prayers is a grave sin, but doesn`t invalidate a person`s marriage contract. However, we advise you to save your husband from hellfire by convincing him to observe the prescribed prayers. And Allah The Almighty Knows Best.