The part of the hadith I deem to be wrong is :-
Anas b. Malik reported that Umm Sulaim narrated it that she asked the Messenger of Allah about a woman who sees in a dream what a man sees (sexual dream). The Messenger of Allah (may peace be upon him) said: In case a woman sees that, she must take a bath. Umm Sulaim said: I was bashful on account of that and said: Does it happen? Upon this the Messenger of Allah said: Yes (it does happen), otherwise how can (a child) resemble its mother?
Here the vaginal discharge has been compared with the semen, But there is a gulf of difference between them. To be specific, I've noted some points:-
The vaginal discharge of a women has no significant contributions in the production of a zygote. It doesn't contain any chromosomes or genes and no gamete. It's function is just to keep the vagina infection - free and to ease the process of intercourse.
The colour of the discharge is not normally yellow. It's normal colour ranges from transparent to milky- whitish.
The semen has the male gametes or sperms, but there are no such things as female gametes in the vaginal discharge.
So isn't this hadith wrong ? Because here it's implied that the semen of a women is her vaginal discharge, which is utterly wrong.
Forgive me if I made some mistakes, I'm a human after all.