We never considered yellowish discharge as a thing of importance (as menses).
Sahih al-Bukhari Book 6, Hadith 31
← Previous Hadith
Fatima bint Abi Hubaish asked the Prophet, "I got persistent bleeding (in between the periods) and do not become clean. Shall I give up prayers?" He replied, "No, this is from a blood vessel. Give up the prayers only for the days on which you usually get the menses and then take a bath and offer your prayers."
Sahih al-Bukhari Book 6, Hadith 30 Next Hadith → (the wife of the Prophet) Um Habiba got bleeding in between the periods for seven years. She asked Allah's Messenger (ﷺ) about it. He ordered her to take a bath (after the termination of actual periods) and added that it was (from) a blood vessel. So she used to take a bath for every prayer.
Sahih al-Bukhari Book 6, Hadith 32
Sahih al-Bukhari Book 6, Hadith 30 Next Hadith → (the wife of the Prophet) Um Habiba got bleeding in between the periods for seven years. She asked Allah's Messenger (ﷺ) about it. He ordered her to take a bath (after the termination of actual periods) and added that it was (from) a blood vessel. So she used to take a bath for every prayer.
Sahih al-Bukhari Book 6, Hadith 32