Ruling      on blood that is passed before giving birth
Question

A woman passed blood during pregnancy, five days before her nifaas started, during the month of Ramadaan. Is this blood menstrual blood or part of the blood of nifaas, and what should she do?
Praise be to Allah.If the matter is as it is described, and she saw blood when she was pregnant, five days before delivery, but she did not see any other sign that delivery was imminent, such as labour pains or contractions, then this blood is neither menstrual nor nifaas, but according to the correct view it is a kind of irregular bleeding. On this basis, she should not stop doing acts of worship, but she should fast and pray. If this bleeding is accompanied by other signs of impending labour, such as contractions and so on, then it is nifaas and so she should stop praying and fasting, then when she is clean from it after giving birth, then she can make up the fasts she has missed, but not the prayers.