What is the ruling on brown discharge before the menstrual period? Is it considered part of menstruation (Hayd)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Dusky discharge (Kudrah), reddish discharge (Humrah), and yellowish discharge (Sufrah) are all considered menstruation (Hayd) if they occur during the time of the menstrual cycle. If their duration exceeds a day and a night, and the period persists from the first sight of the discharge until the cessation of the menstrual blood—provided the total duration does not exceed fifteen days—then all of it is menstruation. However, if the duration exceeds fifteen days, then the discharge is not considered menstruation, but rather chronic irregular bleeding (Istihadah). And Allah the Exalted knows best.
What is the ruling on discharges two or three days before the expected period of menstruation and the light-colored blood accompanying it? Must the woman abstain from prayer during this period?
If the total duration of these blood-tinged discharges reaches a day and a night (24 hours) or more, it is considered menstruation. If their total does not exceed 24 hours, it is not considered menstruation but is irregular bleeding (dam al-fasad). Each woman has specific cases for which she should ask the scholars. And Allah the Almighty knows best.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.
What is the ruling on preparing food for someone who is not fasting in Ramadan?
It is forbidden to prepare food for someone who is breaking their fast without a valid excuse in Ramadan.
Doing so would be assisting in sin, and assisting in sin is itself a sin.
Allah says {what means}: "but help ye not one another in sin and rancour" [Al-Mai`dah/2]