1 Samuel 1:27-28 NIV

27 I prayed1 for this child, and the LORD has granted me what I asked of him.

References for 1 Samuel 1:27

28 So now I give him to the LORD. For his whole life2 he will be given over to the LORD." And he worshiped the LORD there.

References for 1 Samuel 1:28