Leviticus 27:26

Only the firstling which is born a firstling to Yahweh, among beasts, no man shall hallow it, - whether ox or sheep, unto Yahweh, it belongeth.

Exodus 13:2

Hallow to me every firstborn, that which any female first beareth among the sons of Israel, among men and among beasts, - mine! it is.

Exodus 13:12-13

that thou shalt set apart whatsoever is born first, to Yahweh; and, of all firstlings of beasts which thou shalt have, the males, shall pertain to Yahweh.

Exodus 22:30

Thus, shalt thou do with thine ox with thy sheep, a seven days, shall it be with its dam, on the eighth day, shalt thou give it to me.

Numbers 18:17

Only a firstling ox or a firstling sheep or a firstling goat, shalt thou not redeem, hallowed, they are, - their blood, shalt thou dash against the altar and of their fat, shalt thou make a perfume, an altar-flame, for a satisfying odour unto Yahweh:

Deuteronomy 15:19

Every firstling that is brought forth in thy herd and in thy flock that is a male, shalt thou hallow unto Yahweh thy God, - thou shalt not work with a firstling of thine oxen, neither shalt thou shear a firstling of thy flock:

Treasury of Scripture Knowledge

Summary

Only the firstling of the beasts, which should be the LORD'S firstling, no man shall sanctify it; whether it be ox, or sheep: it is the LORD'S.

Bible References

Which

Exodus 13:2
Hallow to me every firstborn, that which any female first beareth among the sons of Israel, among men and among beasts, - mine! it is.
Exodus 22:30
Thus, shalt thou do with thine ox with thy sheep, a seven days, shall it be with its dam, on the eighth day, shalt thou give it to me.
Numbers 18:17
Only a firstling ox or a firstling sheep or a firstling goat, shalt thou not redeem, hallowed, they are, - their blood, shalt thou dash against the altar and of their fat, shalt thou make a perfume, an altar-flame, for a satisfying odour unto Yahweh:
Deuteronomy 15:19
Every firstling that is brought forth in thy herd and in thy flock that is a male, shalt thou hallow unto Yahweh thy God, - thou shalt not work with a firstling of thine oxen, neither shalt thou shear a firstling of thy flock: