What is the ruling of Islamic Law if the follower (maʾmūm) stands up for the third rakʿah out of forgetfulness while the imam has sat for the middle tashahhud?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If the imam sits for the tashahhud while the follower (maʾmūm), out of forgetfulness, stands up for the third rakʿah, he is obliged to return to his sitting position, since following the imam is obligatory. In this case, no prostration of forgetfulness (sujūd al-sahw) is required of him. If, however, he fails to return, his prayer is rendered invalid.
Shaykh al-Islām Imām Zakariyyā al-Anṣārī, may Allah have mercy upon him, states: "If the follower stands up alone out of forgetfulness, he is obliged to return, since following the imam is obligatory... If he does not return, his prayer is rendered invalid, due to his departure from what is obligatory." [Asnā al-Maṭālib,Vol.1/P.190] And Allah the Almighty knows best.
Does burping (belching) break the fast?
Burping does not break the fast. However, if anything comes up from the stomach, the fasting person must spit it out and rinse their mouth to cleanse it.
If they swallow it intentionally while being able to expel it, or if they swallow their saliva before rinsing their mouth, their fast is invalidated.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah Knows Best.
Is a person who forgot to make up missed fasts until the next Ramadan began required to pay expiatory compensation (Fidyah) alongside the makeup fast (Qada')?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever forgets to make up missed fasts of Ramadan (Qada') until the following Ramadan begins incurs no sin, pursuant to the statement of the Messenger of Allah (peace and blessings be upon him): "Indeed, Allah has pardoned for my nation their mistakes, their forgetfulness, and that which they are coerced into doing." [Narrated by Ibn Majah, and Al-Bayhaqi in Al-Sunan Al-Kubra]
Furthermore, such an individual is not obligated to pay a expiatory compensation (Fidyah). It is stated in Bushra Al-Karim (p. 580)—one of the authoritative Shafi'i jurisprudential texts: "As for delaying it [the makeup fasts] due to a valid excuse—such as travel, breastfeeding, forgetfulness, or ignorance of the prohibition of delay (even for one living among scholars)—no Fidyah is required. This is because delaying performance during the actual month is permissible due to these excuses; hence, delaying makeup fasts is even more permissible, even if it continues for years."
And Allah Almighty knows best.