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 washing the private part after urinating (Istinjaa`) a condition, and is it done with water and soap, or with water only?
Istinjaa` is obligatory for removing impurity, and it can be done with toilet paper, or a stone, or water. It is preferable to do Istinjaa` first with paper, or stone, or the like, then to wash the private part with water until making sure that the impurity has been removed. Using soap is not a condition, but there is no harm in doing so provided that it is washed off with water. It is also permissible to use either water, or paper if impurity is removed by any.
What is the ruling on congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.
Is it permissible to give to the poor from among the People of the Book from the Udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
It is permissible to give to the poor among the People of the Book from a voluntary sacrifice (uḍḥiyyat taṭawwuʿ), just as it is permissible to give charity (ṣadaqah) to them. This opinion is a view (wajh) within the Shāfiʿī school, which was favored by al-Muḥibb al-Ṭabarī and Imam al-Nawawī. [See: Ḥāshiyat Ibn Qāsim al-ʿAbbādī ʿalā Tuḥfat al-Muḥtāj (Vol.9/P.365)]. And Allah Almighty knows best.