"And Eli answered and said, 'Go in peace' (1 Samuel 1:17). He said to her: This peace is from me, but your [true] peace is from your Creator. 'And the God of Israel grant your petition' — it is written shelateikh [defectively]. He said to her: This son whom you are destined to raise up — much spoil he is destined to plunder in the Torah. 'And she said, May your handmaid find favor in your eyes; and the woman went on her way' (1 Samuel 1:18). What is 'on her way'? She became a menstruant. 'And her face was no longer [sad to her]' — this teaches that her face had resembled [that of] an ape and a eunuch, and they were healed.
Eli Blesses Hannah and Foretells Samuel's Torah Plunder
Midrash Shmuel 2:12
ויען עלי ויאמר לכי לשלום (שמואל א' א' י"ז). אמר לה הדין שלמא מן דידי ברם שלמך מן ברייך. ואלהי ישראל יתן את שאלתך. שלתך כתיב, אמר לה הבן הזה שאת עתידה להעמיד, הרבה שלל הוא עתיד לשלול בתורה. ותאמר תמצא שפחתך חן בעיניך ותלך האשה לדרכה. מהו לדרכה, פירסה נדה. ופניה לא היו לה עוד. מלמד שהיו פניה דומין לקוף ולסריס ונתרפאו.