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.
Is it permissible for a wife to leave her house without obtaining the permission of her husband, and not to come back unless he divorces her co-wife?
It is forbidden for the wife to leave without obtaining her husband`s permission, and it is impermissible for her to ask him to divorce her co-wife as this inflicts harm on the latter and such an act is forbidden in Islamic law.
Should a pregnant woman who broke fast because of pregnancy make it up, and is a ransom due on her?
The pregnant and the suckling, if they fear for their health, may break their fast and make up for it, and no ransom is due on them. However, if they broke fast in fear for the fetus and the baby, then they are obliged to make up for it, and pay the ransom which is feeding a needy person for each of the missed fasting days. And Allah Knows Best.
Should nail polish be removed before making ablution?
Yes, it should be removed because it prevents water from reaching the nails.