What did God require of Cain and Abel when they sinned?

God evidently instructed them to bring a blood sacrifice when their conscience convicted them of sin, and He would accept them.

Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?