4Then the LORD called to Samuel, and he answered, “Here I am.”
5He ran to Eli and said, “Here I am, for you have called me.” “I did not call,” Eli replied. “Go back and lie down.” So he went and lay down.
6Once again the LORD called, “Samuel!” So Samuel got up, went to Eli, and said, “Here I am, for you have called me.” “My son, I did not call,” Eli replied. “Go back and lie down.”
7Now Samuel did not yet know the LORD, because the word of the LORD had not yet been revealed to him.
8Once again, for the third time, the LORD called to Samuel. He got up, went to Eli, and said, “Here I am, for you have called me.” Then Eli realized that it was the LORD who was calling the boy.
9“Go and lie down,” he said to Samuel, “and if He calls you, say, ‘Speak, LORD, for Your servant is listening.’” So Samuel went and lay down in his place.
10Then the LORD came and stood there, calling as before, “Samuel! Samuel!” And Samuel answered, “Speak, for Your servant is listening.”
— 1 Samuel 3:4-10