What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]
Is it valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]
What is the ruling on making up missed prayers during prohibited times?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to make up (qada’) missed prayers at any time, even during the periods when prayer is generally prohibited. The prayers that are forbidden and considered invalid during these times are 'absolute voluntary prayers' (nafl mutlaq)—which have no specific cause—and voluntary prayers whose cause follows the prayer itself, such as the Sunnah of entering Ihram or the Sunnah of the Istikharah prayer. Furthermore, no prayer is considered disliked (makruh) during these prohibited times when performed within the Meccan Sanctuary (Makkah al-Mukarramah).
It is stated in Bushra al-Karim (Vol.1/P.181), one of the Shafi’i texts: 'It is not forbidden to perform prayers that have a cause that is not delayed (i.e., the cause is preceding), such as making up a missed prayer (fa’itah)—even if it was a voluntary one—and the funeral prayer (janazah); or a cause that is simultaneous, such as the prayer for rain (istisqa’) or the eclipse prayer (kusuf)... and the Sunnah of wudu, the greeting of the mosque (tahiyyat al-masjid), the Sunnah of circumambulation (tawaf), the Sunnah of arrival, and the prostrations of recitation (tilawah) or thankfulness (shukr). These mentioned prayers and their like are not forbidden provided that one does not specifically intend (ta'ammud) to perform them during the disliked time because it is a disliked time. If one does so intentionally, it becomes forbidden, even if it is a mandatory makeup prayer that is due immediately; because in that case, one is acting in defiance of the Sharia. This is in contrast to when one does not specifically seek out that time, even if the prayer happens to fall within it, or if one seeks it for another purpose—such as delaying a funeral prayer to that time so that a larger number of people may pray over the deceased; in such cases, it is permissible and valid... And it is forbidden to perform prayers with no cause at all, like absolute nafl, or those with a delayed cause, such as the Istikharah prayer, the prayer for Ihram, the prayer for a need (hajah), the prayer before leaving the house, or the prayer before execution; because their causes occur after the prayer itself.' And Allah the Exalted knows best."
Is a person who is in a state of Janabah (major ritual impurity due to having a marital intercourse, ejaculation, menstruation, and post-delivery impurities) sinful if he/she goes about his/her daily life activities in that state i.e. without making Ghusl (ritual bath)?
It goes without saying that a Muslim should always be in a state of ritual purity so as to be able to perform prayers and recite Quran. It is from Sunnah (Prophetic tradition) that a Muslim hastens to make Ghusl from Janabah, but he/she is not sinful in case he/she delayed that provided that he/she doesn`t miss prayers. However, it is permissible for him/her to go about their daily activities while in a state of Janabah, but had better bathe in order not to miss any prayer.