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 a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
Does excessive sleep during Ramadan invalidate fasting?
Sleeping a lot in Ramadan does not invalidate the fast, but a Muslim may miss out on great rewards from prayer, Quran recitation, and acts of worship due to excessive sleep.
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.