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.
What is the ruling on fasting the six days of Shawwal?
Fasting the six days of Shawwal is Sunnah. The Prophet ﷺ said: "Whoever fasts Ramadan and then follows it with six days of Shawwal, it is as if they have fasted for a lifetime." [Narrated by Muslim]
This is because fasting one month of Ramadan is rewarded as fasting for ten months, and the six days are equivalent to sixty days, completing a full year of fasting.
What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.