Genesis 4:3
And in process of time it came to pass, that Cain brought of the fruit of the ground an offering unto the Lord.
Cross-references
Leviticus 2 codifies the grain offering (minchah) — the same Hebrew word used for Cain's offering. His produce offering is the earliest instance of the offering type later regulated here.
Hebrews 11:4 directly references this offering by faith, explaining why it was superior and accepted — it provides the theological reason for the outcome.
In Leviticus 9:24, fire from the LORD consumes the offering — visible divine acceptance. This contrasts with Cain's offering, which God does not accept in the verses that follow.
Leviticus 1:2 gives the formal instruction: 'When anyone brings an offering to the LORD…' This codifies what Cain is doing — bringing an offering to God. Same act, later systematized.
Leviticus 2:14 specifies offering firstfruits grain — fresh ears of grain to the LORD. Both involve grain/produce offered to God. Cain's offering is the earlier, unregulated form of this practice.
Numbers 18:12 lists the best of grain, oil, and wine — firstfruits given to the LORD. Both involve offering agricultural produce to God, though here the focus is the priestly portion.
Ecclesiastes 5:1 warns to be careful with offerings — a caution against the careless or self-centered attitude implied in Cain's later rejected offering.