"And he said to the people, 'Be ready for three days'" (Exodus 19:15). One might think Moses said this thing on his own authority. Scripture says, "And let them be ready for the third day" (verse 11), and here "Be ready for three days." "Be ready" and "be ready" form a verbal analogy [gezeira shava]: just as the "and let them be ready" stated there is something holy that the LORD told Moses, so too the "be ready" stated here is something holy that the LORD told Moses. Rabbi says: Its place is decided on its own [it needs no inference]. "And sanctify them today" so that they should immerse on the fourth day. Rabbi Elazar ben Azariah says: How do we know that a woman who emits semen on the third day is impure? As it says, "Be ready for three days; do not draw near to a woman." Rabbi Ishmael says: Sometimes these are four periods, sometimes they are five, sometimes they are six. Rabbi Akiva says: They are always five.
Be Ready for Three Days and the Laws of Purity at Sinai
Mekhilta DeRabbi Shimon Ben Yochai 19:15
ויאמר אל העם היו נכונים לשלשת ימים יכול משה אמר דבר זה מפי עצמו ת"ל (פ' י"א) והיו נכונים ליום השלישי וכאן היו נכונים לשלשת ימים נכונים נכונים לגזרה שוה ומה והיו נכונים האמור להלן קודש שיאמר למשה אף היו נכונים האמור כאן קודש שיאמר למשה: רבי אומר מקומו מוכרע: וקדשתם היום שיטבלו ביום הרביעי ר' אלעזר בן עזריה אומר מניין לפולטת שכבת זרע ביום השלישי שהיא טמאה שנ' היו נכונים לשלשת ימים אל תגשו אל אשה: ר' ישמעל אומר פעמים שהן ארבע עונות פעמים שהן חמש פעמים שהן שש: רבי עקיבה אומר לעולם חמש: