What is the ruling of Islamic Law on following the actions of the imam in prayer and how this following is achieved?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The follower (ma'mum) is required to follow his imam in the actions of the prayer. This "following" (mutaba'ah) means that the follower performs each action of the prayer after the imam has begun it but before he has finished it. For example, the follower bows (in ruku') after the imam has reached the position of bowing, then rises after the imam has risen. The Prophet, peace and blessings be upon him, said: "The imam is only appointed to be followed, so when he says the takbir, say the takbir; and when he bows, then bow; and when he prostrates, then prostrate" (agreed upon, i.e., reported by both al-Bukhari and Muslim).
It is stated in Mughni al-Muhtaj (1/505): "Among the conditions of valid congregational prayer (iqtida') is following the imam in the actions of the prayer... meaning that following the imam is obligatory in the physical actions of the prayer, not in its verbal utterances... Complete following (kamal al-mutaba'ah) is achieved when the follower's beginning of an action comes after the imam's beginning of that same action, while the follower's beginning of the action precedes the imam's completion of it" — end of quote, with slight paraphrasing.
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 someone who is uncertain whether he omitted one of the ab‘āḍ of the prayer, such as being uncertain whether he omitted the first tashahhud?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The ab‘āḍ include the middle tashahhud and the qunūt in Fajr prayer — for which sujūd as-sahw (the prostration of forgetfulness) is prescribed if left out. Whoever is uncertain, during the prayer, whether he omitted one of these elements, should proceed on the assumption that he did not perform it, and should perform sujūd as-sahw accordingly.
It is stated in ‘Umdat as-Sālik (p. 63): "If he is uncertain... whether he omitted a specific ab‘āḍ element, or whether he performed sujūd as-sahw, or whether he prayed three or four rak‘ahs — he proceeds on the assumption that he did not do it, and performs sujūd as-sahw."
The original principle (al-aṣl) for someone uncertain about [having performed] the first tashahhud is that he assumes he did not perform it. And Allah, the Exalted, knows best.
What is the ruling on making up the regular pre-Dhuhr *sunnah* (*al-sunnah al-rātibah al-qabliyyah*) for one who missed it in the Dhuhr prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Every timed supererogatory prayer (nāfilah) is recommended (mandūb) to be made up if its time passes. As for a nāfilah that precedes the obligatory prayer, performing it before the farḍ is a matter of proper etiquette (adab); if it is prayed after the farḍ, it is still considered adāʾ (performed within its time). If the time of the farḍ has ended, it is recommended to make up (qaḍāʾ) the nāfilah for one who did not pray it.
Whoever misses the sunnah before Dhuhr, whether with an excuse or without one, it is recommended for him to pray it after the obligatory Dhuhr prayer, within the time of Dhuhr, even at its end, and it counts as adāʾ, not qaḍāʾ. It is also recommended for one who missed the pre-Dhuhr sunnah to pray it before the post-Dhuhr sunnah, in observance of the proper order. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.60): "What precedes the obligatory prayer has the same time as the obligatory prayer, and performing it before the farḍ is a matter of etiquette; after it, it is adāʾ. What follows the farḍ has its time begin with the performance of the farḍ and end with the end of its time."
If the time of Dhuhr has ended, it is recommended for him to pray both the pre- and post-Dhuhr sunnahs, and they count as qaḍāʾ for both. It is stated in ʿUmdat al-Sālik (1/61): "Every timed nafl, such as the ʿĪd prayer, Duha, Witr, and the regular rawātib of the obligatory prayers, if it is missed, it is recommended to make it up forever." And Allah Almighty knows best.