Cain's story can be found in (The Table 5:27) and end at (The Table 5:31) in the Quran. The Quran does not make mention of the occupation of the 2 brothers. However, going to older scriptures will reveal that Cain was a farmer and Abel was a shephard as can be seen in Genesis 4. God accepted Abel's animal offering and rejected Cain's plant offering which led Cain to murder Abel. The only addition in the Quranic text that is not available in older scriptures is God sending a raven to show Cain how to bury his younger brother. On that account, the first murder was performed, and the first burial was also performed. The Quran often recalls stories from older scriptures in condensed poetic form. Cain and Able are called Qa'beel and Ha'beel in Arabic.