What is the ruling on performing the Duha (forenoon) prayer before its time has begun, because I go to school early in the morning?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The Duha (forenoon) prayer is not valid if performed before its time has begun. Its time starts when the sun has risen to a noticeable height, that is, approximately fifteen minutes after sunrise, and it ends when the sun reaches its zenith (zawāl), shortly before the Dhuhr (noon) prayer. It is stated in Mughni al-Muhtaj (Vol.1/p.455): “Its time is from the rising of the sun [to a spear’s height] until the zenith.”
Accordingly, the Duha prayer is not valid if offered before the sun has risen, and its time remains open until just before Dhuhr. It may be performed at any time at school, during the break between classes or during recess. And Allah Almighty knows best.
What is the ruling on performing ablution (wudu') and ritual bathing (ghusl) with Zamzam water?
It is permissible to perform ablution and ritual bathing with Zamzam water. However, scholars disliked using it for cleaning after relieving oneself (istinja'). And Allah the Almighty knows best.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded, but not an udhiyah. And Allah Almighty knows best.
Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.