What is the correct point at which to raise the hands when standing up for the third rak‘ah (after the middle tashahhud)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Raising the hands while saying the takbīr [when rising for the third rak‘ah] is a recommended sunnah, and omitting it does not affect the validity of the prayer. The proper time for this is after rising from the middle tashahhud, once one has fully stood up.
It is stated in I‘ānat aṭ-Ṭālibīn (Vol.1/P.158): "His statement, 'and rising from the first tashahhud' — meaning, this manner [of raising the hands] is also a sunnah when he rises from the first tashahhud, that is, when he stands upright from it.
Consider [the question]: when precisely does the raising of the hands begin? Is it at the very start of rising from the first tashahhud, or after he has reached the minimum position of rukū‘ [i.e., once fully upright]? The apparent, [correct] view is the latter — even though the outward wording [of the text] might suggest the former — because at the very start of his rising, he is still relying on both hands [to push himself up, and therefore cannot yet raise them]."
It is stated in ‘Umdat as-Sālik (p. 53): "If his prayer extends beyond two rak‘ahs, he sits after them in the iftirāsh position, recites the tashahhud, and sends blessings upon the Prophet ﷺ alone, without [mentioning] his family [at this point]. He then stands while saying the takbīr, supporting himself with his hands; and once he has stood upright, he raises them level with his shoulders." And Allah, the Exalted, knows best.
Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.