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.
Does Istigfar (Asking Allah for forgiveness) between the first and the second part of Friday prayer`s sermon render the prayer invalid?
Talking during Friday prayer`s sermon is disliked, but there is no harm in offering Istigfar between the two parts of the sermon, and it doesn`t invalidate the prayer as it is actually from Sunnah. And Allah Knows Best.
Is it permissible to distribute the raw meat of the vowed animal sacrifice amongst the poor/to offer it to them in cooked form?
It is impermissible for the vow-maker to eat from the vowed animal sacrifice, rather, he/she should distribute it as he/she had intended upon making the vow, but if the vow was a general one, without any specification then, it is better to give it as raw meat.