Deuteronomy 22:6-7

NHEB(i) 6 If a bird's nest chance to be before you in the way, in any tree or on the ground, with young ones or eggs, and the hen sitting on the young, or on the eggs, you shall not take the hen with the young: 7 you shall surely let the hen go, but the young you may take to yourself; that it may be well with you, and that you may prolong your days.