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.
Is the niṣāb calculated based on the price of 21-karat gold, or 24-karat gold?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Zakāh is obligatory on cash and on gold designated for saving or for trade, provided the total reaches the niṣāb (minimum threshold liable for zakah), and a full ḥawl (lunar year) has elapsed over it. The niṣāb is (85) grams of 24-karat gold; for 21-karat gold, the niṣāb equals (97) grams; and for 18-karat gold, it equals (113) grams.
The relied-upon position is to calculate the zakāh based on the buying price [i.e., the price the gold merchant would pay the owner to purchase the gold from him] on the day the zakāh obligation is due.
The one paying zakāh may assess/calculate the niṣāb using any of the aforementioned gold karats [i.e., he may choose whichever karat standard he wishes for the purpose of the calculation]. And Allah, the Exalted, knows best.
Is it required for a discerning child to make the intention at night if they wish to fast?
If a discerning child wishes to fast during Ramadan, they must make the intention at night because intention is one of the pillars of fasting, even though fasting is not obligatory for them.
What is the ruling on ablution if vaginal discharge is expelled, and is it impure?
If these discharges exit from the external genitalia (apparent part of the vagina), they are not impure and do not invalidate ablution. If they exit from the internal part, they are impure and do invalidate ablution. If it is uncertain whether they are from the internal or external part, they are not impure and do not invalidate ablution.
The apparent part is what becomes visible when sitting, and what the husband's penis reaches during intercourse is considered part of the apparent. The internal part is what is beyond that. And Allah the Almighty knows best.