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.
What is the ruling on praying behind a disliked Imam?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is mildly disliked (Makruh Tanzihan) for a man—other than the permanent designated Imam (Imam Ratib)—to lead people in prayer if the majority of them dislike him due to a religiously blameworthy reason (Amr Madhmum Shar‘an), such as associating with open sinners (Fussaq), for example. As for the followers who dislike him, the prayer behind him is not disliked for them. However, if less than the majority dislike him, or if the majority dislike him for a reason that is not religiously blameworthy, then his leading the prayer is not disliked. And Allah the Exalted knows best.
Is it a condition for the mosque where I‘tikaf is performed to hold Jumu‘ah prayers?
No, it is not a condition for the mosque where I‘tikaf is performed to have Jumu‘ah prayers. However, if a person vows to perform continuous I‘tikaf, and Jumu‘ah occurs within that period, then they must observe I‘tikaf in a mosque where Jumu‘ah is held so that they do not break their continuity by leaving for Friday prayer.
Is it permissible for one to shake hands with his uncle`s daughter?
No, it isn`t because he is a non-Mahram (Marriageable) to her.