Deuteronomy 21:17 NIV

17 He must acknowledge the son of his unloved wife as the firstborn by giving him a double1 share of all he has. That son is the first sign of his father's strength.2 The right of the firstborn belongs to him.3

References for Deuteronomy 21:17