According to the law in the book of Leviticus one was obliged to pay a certain amount for dedicating someone to the Lord
Leviticus 27:1-7 NIV
27 The Lord said to Moses, 2 “Give the following instructions to the people of Israel. If anyone makes a special vow to dedicate someone to the Lord by paying the value of that person, 3 here is the scale of values to be used. A man between the ages of twenty and sixty is valued at fifty shekels[a] of silver, as measured by the sanctuary shekel. 4 A woman of that age is valued at thirty shekels[b] of silver. 5 A boy between the ages of five and twenty is valued at twenty shekels of silver; a girl of that age is valued at ten shekels[c] of silver. 6 A boy between the ages of one month and five years is valued at five shekels of silver; a girl of that age is valued at three shekels[d] of silver. 7 A man older than sixty is valued at fifteen shekels of silver; a woman of that age is valued at ten shekels[e] of silver.
But there seems to be no record of Hannah bringing the required amount for the dedication of Samuel other than those for the sacrifice during the process.
1 Samuel 1:11 NIV
11 And she made a vow, saying, “Lord Almighty, if you will only look on your servant’s misery and remember me, and not forget your servant but give her a son, then I will give him to the Lord for all the days of his life, and no razor will ever be used on his head.”
1 Samuel 1:24 NIV
24 After he was weaned, she took the boy with her, young as he was, along with a three-year-old bull,[e] an ephah[f] of flour and a skin of wine, and brought him to the house of the Lord at Shiloh. 25 When the bull had been sacrificed, they brought the boy to Eli, 26 and she said to him, “Pardon me, my lord. As surely as you live, I am the woman who stood here beside you praying to the Lord. 27 I prayed for this child, and the Lord has granted me what I asked of him. 28 So now I give him to the Lord. For his whole life he will be given over to the Lord.” And he worshiped the Lord there.
Did Hannah pay the dedication amount required by the law?