Surah Al Haj 22:36-37 :
The big animals of sacrifice (like camels and cows) are made by Us among the symbols of Allah for you, in which there is much good for your benefit. So recite the name of Allah over them as they are lined up (for sacrifice). Then, once their flanks fall down (after slaughter), eat of them and feed the one who is content and the one who wishes to receive. Thus We have made them (the animals) subjugated to you, so that you may be grateful. It is neither their flesh nor their blood that reaches Allah, but what does reach Him is the taqwa (the sense of obedience) on your part. Thus He has made them (the animals) subjugated to you, so that you proclaim Allah‘s glory for the guidance He gave you. And give good news to those who are good in their deeds.