Hazrat Umar (may Allah be pleased with him) says that a woman in postpartum bleeding will remain away from her husband for forty days.