And for every [religious] community We have appointed a rite [of sacrifice]1 that they may mention the name of Allāh over what He has provided for them of [sacrificial] animals. For your god is one God, so to Him submit. And, [O Muḥammad], give good tidings to the humble [before their Lord]
Translation: Saheeh International (English)
1 i.e., the rite of sacrifice has always been a part of Allāh's revealed religion.
For every previous nation I made rites to shed blood, as a means of closeness to Allah, in the hope they will remember Allah at the time of slaughtering these sacrificial animals, and in gratitude to Allah for the camels, cows and sheep He granted them. Your true god, O people, is One God who has no partner, so submit to Him alone through submission and obedience. And O Messenger, tell those who are humbly submissive and sincere what will please them.