"Do not regard your servant as a wicked woman" (1 Samuel 1:16). Do not treat me harshly. And Eli answered and said to her, "Go in peace" (1 Samuel 1:17) - peace from me, peace from your Creator. "And may the God of Israel grant your petition" is written - he said to her: this son whom you are destined to raise will be a great despoiler in Torah [one who carries off much learning]. "And the woman went her way" (1 Samuel 1:18) - what is meant by "her way"? That she separated from the state of a menstruant. "And her face was no longer to her" - this teaches that her face had been like an ape's, and now it was healed.
Eli Blesses Hannah and Her Face Is Restored
Yalkut Shimoni on Nach 78:18
אל תתן את אמתך לפני בת בליעל (ח) אל תרפיסני קדמה. ויען עלי ויאמר לכי לשלוום שלמא מן דידי שלמא מן ברייך. ואלקי ישראל יתן את שלתך כתיב, א"ל הבן הזה שאת עתידה להעמיד הרבה שלל עתיד הוא לשלול בתורה. ותלך האשה לדרכה מהו לדרכה שפרתה נדה. ופניה לא היו לה עוד מלמד שהיו פניה דומית לקוף ונתרפא: