Genesis 38:8
And Judah said unto Onan, Go in unto thy brother’s wife, and marry her, and raise up seed to thy brother.
Cross-reference
Leviticus 18:16 forbids sex with a brother's wife, contrasting with the levirate command to Onan in Genesis 38:8.
Deuteronomy 25:5-10 codifies the levirate marriage law that Judah commands Onan to follow, directly parallel to the practice here.
Ruth 1:11 mentions the same levirate custom, where a widow hopes for sons to marry her and raise offspring for the dead.
Ruth 4:5-11 recounts Boaz performing the kinsman-redeemer role, which mirrors the levirate duty commanded to Onan.
Matthew 22:23-27 recounts the Sadducees' question about a woman married to seven brothers — the same levirate marriage scenario as Judah's command to Onan.
Deuteronomy 25:9 describes the penalty for a brother who refuses levirate marriage — the same duty Judah commands here, later codified in law.
Matthew 22:24 quotes the levirate marriage law directly — the same duty Judah instructs Onan to perform for his deceased brother.
Mark 12:19 records the same levirate marriage law — the brother must raise offspring for the deceased, exactly as Judah commands here.
Luke 20:28 cites the levirate marriage law — the same obligation Judah places on Onan to produce a child for his dead brother.