Leviticus 22:28

New American Standard Bible (NASB)
But, whether it is an ox or a sheep, you shall not kill both it and its young in one day.

Read Leviticus 22:28 in other translations