Imam Jafar ibn Muhammad Al-Sadiq عليه السلام narrates that: It is narrated regarding a woman who sees yellowish discharge: 'If this occurs two days before her menstrual period, it is considered part of her menstruation; if it occurs two days after her menstrual period, it is not considered part of her menstruation.'.