1 Samuel 1:20-22

20 And it was done after the compass of days, Hannah conceived, and childed a son, and called his name Samuel; for she had asked him of the Lord.

21 And her husband Elkanah went up, and all his house, to offer a solemn sacrifice, and his avow [or vow] to the Lord.

22 And Hannah went not up to that solemnity or feast, for she had said to her husband, I shall not go, till the young child be weaned, and till I lead him thither, and he appear before the sight of the Lord, and dwell there continually.