Does spotting affect the validity of prayer and fasting?
The spotting that comes at times other than the regular monthly period does not prevent one from praying and fasting, because Umm ‘Atiyyah (may Allah be pleased with her) said: “We did not regard yellowish and brownish discharge after tuhr (becoming pure) as being of any significance.” Narrated by al-Bukhaari (326) and Abu Dawood (307). Classed as saheeh by al-Albaani in Saheeh Abi Dawood.
If a woman has become pure from her menses, what she sees after that of spotting is not regarded as menses. And these secretions are pure (taahir) so she does not have to wash them from her clothes. This is the view of Abu Haneefah and Ahmad, and it is one of the two views narrated from al-Shaafa’i, and it was classed as sound by al-Nawawi.
This view was also favoured by Shaykh Ibn ‘Uthaymeen. May Allah have mercy upon them all.
It says in al-Sharh al-Mumti’ (1/392): If these secretions result from intercourse, they are pure (taahir), because they are not the waste products of eating and drinking, so they are not urine, and the basic principle is that things are not impure (naajis) unless there is evidence to that effect. And because if a man has intercourse with his wife, he is not obliged to wash his penis or his clothes if anything gets onto them. End quote.
See: al-Majmoo’ (1/406) and al-Mughni (2/88).
And Allaah knows best.