In Bereishit 4:2-4 we read that Hevel was a keeper of sheep and that he offered from the firstlings of his flock. How did he come to acquire the flock? Did he have to trap them and domesticate them or did they naturally gather to him?
See Midrash Rabba Besraishis 22:7
וַיֹּאמֶר קַיִן אֶל הֶבֶל אָחִיו וַיְהִי בִּהְיוֹתָם וגו' (בראשית ד, ח), עַל מָה הָיוּ מִדַּיְּנִים, אָמְרוּ בּוֹאוּ וְנַחֲלֹק אֶת הָעוֹלָם, אֶחָד נָטַל הַקַּרְקָעוֹת וְאֶחָד נָטַל אֶת הַמִּטַּלְטְלִין,
“And Cain spoke to Abel his brother, and it came to pass when they were in the field…” (Genesis 4:8) What were they arguing about? They said: come let’s divide up the world, one will take the land and one will take the moveable property.
By this division Hevel became the sole owner of all the sheep in the world.