Q 1: What
should someone do if they mistakenly say the Taslim (salutation of peace ending the Prayer) before the Imam (the one who leads congregational Prayer)?
A:
It is not a sin to mistakenly say the Taslim before the Imam. If anyone does so, they are obligated to continue following the Imam until he says the Taslim.