If its owner was with it, he will not have to pay; if it was hired, what was paid for the hire covers it.
Pharaoh’s daughter said to her, “Take this child and nurse him for me, and I will pay your wages.” So the woman took the child and nursed him.