What is the ruling on someone who eats or drinks while uncertain about the arrival of dawn, then later finds out that dawn had not yet broken?
If a person does this, their fast remains valid, as it is confirmed that they ate during the night. Similarly, if someone eats while uncertain and remains unsure whether they ate before or after dawn, their fast is still valid. This is based on the maxim of Sharia Law, which states: "Certainty is not removed by doubt." Certainty, here, is the presence of night, and the doubt concerns the arrival of dawn. Therefore, one relies on certainty and disregards doubt.
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.
Can I start fasting based on the moon sighting of another country?
You must follow the moon sighting of the country you are in.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.