Question
If a menstruating woman gives birth at the beginning of the night and sees the white discharge when she wakes up?
Answer
I say, and with God's help: It is judged by its purity from the moment it is placed, see: Sharh Al-Wiqayah p. 122, Dhakhr Al-Mutahhilin p. 63, and others, and God knows best.