What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
How is the beginning of Ramadan determined?
1. Completing 30 days of Sha‘ban, or
2. Sighting the crescent moon after sunset on the 29th day of Sha‘ban.
It is Sunnah to search for the moon, and it is obligatory to follow the official authorities responsible for announcing it.
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 of Islamic Law on kissing while fasting?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is prohibitively disliked (makrūh taḥrīman) for a husband to engage in foreplay with or kiss his wife during the daylight hours of Ramaḍān if doing so stirs his desire. If pre-seminal fluid (madhī) is released as a result, the fast is not invalidated; however, if seminal fluid (manī) is released, the fast is broken.
Imām al-Khaṭīb al-Sharbīnī, may Allah have mercy upon him, stated: "It is prohibitively disliked to kiss — whether on the mouth or elsewhere — for one whose desire is stirred, whether man or woman, to the extent that he fears it may lead to intercourse or ejaculation. Embracing, touching, and similar acts without a barrier carry the same ruling as kissing in this regard, because such acts expose the act of worship to being corrupted — and as the two Ṣaḥīḥs record: 'Whoever circles around a protected boundary is liable to fall into it.'"
He further added: "It is preferable for one whose desire is not stirred — even if he is a young man — to refrain from such acts as well, so as to close the door entirely. For he may believe his desire has not been aroused when in fact it has. Moreover, it is Sunnah for the fasting person to abstain from all desires without exception." — Summarised with minor adaptation from [Mughnī al-Muḥtāj]. And Allah the Almighty knows best.