The Table Spread - 5:27 "Tell them the story of the two sons of Adam. They offered sacrifices, but one was accepted and the other was not. "I will kill you,"he said. "God accepts only the righteous,"he said."
The purpose of sacrifice:
The Pilgrimage/22:36 There are benefits for you in the sacrifice of animals as a sign of worshipping Allah. You should mention the name of Allah over them while they are lined up. And when they fall on their sides, eat of them, and feed the beggar and the poor, We have made them available for you so that you may give thanks.
The Pilgrimage/22:37 Neither their flesh nor their blood reaches Allah; only your righteous deeds reach Him. He has made them at your service so that you may remember the greatness of Allah for guiding you to the truth.