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.
Is it valid to perform the obligatory prayer while sitting?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Standing (Al-Qiyam) while having the ability to do so is one of the pillars (Arkan) of the prayer; the obligatory (Faridah) prayer is not valid without it. However, whoever is unable to stand may pray sitting down. As for voluntary (Nafilah) prayers, it is permissible to pray them sitting even if one is able to stand, but the one sitting receives half the reward of the one who prays standing. And Allah the Exalted knows best.
What is the ruling on performing Tarawih in sets of four rak‘ahs with only one Tasleem?
It is not permissible to combine more than two rak‘ahs with a single Tasleem in Tarawih prayer. Whoever does so, their prayer is invalid. Shaykh al-Islam Imam Muhammad al-Ramli (may Allah have mercy on him) stated: "If a person prays four rak‘ahs of the Tarawih prayer with a single Tasleem, it is not valid if they did so intentionally and with knowledge [of the prohibition]. Otherwise, it becomes an 'absolute voluntary prayer' (nafl mutlaq); because it is contrary to what has been prescribed." [Nihayat al-Muhtaj, Vol.2/P.127].
Is it permissible for a woman to shake hands with her brother-in-law?
It is forbidden for the woman to shake hands with her brother-in-law because he isn`t a Mahram (unmarriageable) of hers.