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.
A man who was on travel prayed Duhr as four Rakhas upon leaving Tafilah heading to Amman. However, on his way to Amman, he prayed Asir as two Rakhas (Shortened). Is what he did correct from an Islamic perspective?
All perfect praise be to Allah, The Lord of The Worlds. May His blessings and peace be upon our Prophet Mohammad and upon all his family and companions.
What he did is correct; he is liable for nothing before Allah The Almighty, since combining and shortening prayers during travel are two separate concessions. Therefore, it is permissible for a traveler to shorten prayer without combining it with another. And Allah The Almighty Knows Best.
How is night prayer offered?
Night prayer is offering voluntary prayer after Maghrib and before Fajr (Dawn). As for Tahajjud, it is offering voluntary prayer at night after waking up voluntarily, and for Allah`s sake as He Says (What means): "And pray in the small watches of the morning: (it would be) an additional prayer (or spiritual profit) for thee: soon will thy Lord raise thee to a Station of Praise and Glory!" [Al-Isra`/79]. Offering Tahajjud is better than offering voluntary prayer before going to bed.