"And she said, 'Samuel'" — [meaning, "Bring up] Samuel [for me]." The master of the prophets — bring him up for me! You said what you said, you did what you did — now ascend! "And the woman saw Samuel, and she cried out with a loud voice" (1 Samuel 28:12). From where did she know that it was Saul? Rather, it is not the same way that he comes up for a commoner as he comes up for a king. For a king he comes up with his face upward, and for a commoner he comes up with his face downward. "And the king said to her, 'Do not fear,' etc." (1 Samuel 28:13). "I saw a divine being coming up out of the earth" — once he heard "a divine being," he was afraid. And some say that many righteous ones also came up with him.
How the Witch of Endor Knew Saul by Samuel Rising
Midrash Shmuel 24:4
ויאמר את שמואל [העלי לי] רבן של נביאים העלי לי, אמרת מה דאמרת עבדת מה דעבדת וסלק. ותרא האשה את שמואל ותזעק [בקול גדול] (שם שם י"ב), מאיכן היתה יודעת שהוא שאול, אלא לא כשם שהוא עולה להדיוט עולה למלך, למלך הוא עולה פניו למעלן, ולהדיוט הוא עולה פניו למטן, ויאמר לה המלך אל תיראי וגו' אלהים ראיתי [עולים מן הארץ] כיון דשמע אלהים דחל, ויש אומרים אף צדיקים הרבה עלו עמו.