Exodus

Exodus 13:2

2“Consecrate1 to Me every firstborn male2. The firstborn from every womb among the Israelites belongs to Me [both] of man and beast.”
Translation Notes

1Other translations use “sanctify” here; Set apart, consecrate to YHWH, legally and spiritually His

2Assuming this is where Pidyon haben comes from.