Is bleeding that lasts for nine or ten days considered menstruation (Hayd)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If the duration of the bleeding does not exceed fifteen days, then all of it is considered menstruation (Hayd), even if the regular cycle ('Adah) has changed. And Allah the Exalted knows best.
Which is more excellent for a woman: to pray in the mosque or in her house?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Our Master the Prophet ﷺ said: 'It is more excellent for a woman to pray in her house than in her courtyard, and more excellent for her to pray in her private chamber than in her house.' Therefore, a woman’s adherence to her home and her refraining from going to the mosques—in obedience to the command of Allah the Exalted—attains a great reward and abundant recompense. Furthermore, women praying in congregation within their homes is better than their attendance at the mosques, based on the aforementioned Hadith. And Allah the Exalted knows best.
If the bleeding ceases after 40 days following childbirth, but then returns intermittently during two days of fasting, what is the ruling?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whenever the post-natal bleeding (Nifas) ceases and the woman is certain it will not return, she has become pure; therefore, she must perform the ritual bath (Ghusl) and resume praying and fasting. However, if the blood returns within fifteen days of its cessation and before sixty days have passed since the delivery, the ruling of Nifas applies once again. Consequently, any fasting or prayer performed during that interval of purity is rendered invalid; she must make up for the missed fasts of those days, but she is not required to make up for the prayers. And Allah the Exalted knows best.
Is it permissible to offer mandatory prayer while sitting?
All perfect praise be to Allah, The Lord of The Worlds, and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions. Standing up is a pillar in the mandatory prayer and the prayer is not valid without it unless one cannot do it. As for Nafila (supererogatory prayer), one can perform it in the state of sitting even if he/she can stand, but his/her reward is half the reward of the person who prays while standing if he/sh has no legal excuse for such an act. And Allah Knows Best.