Surah Al-Hajj

22:34

وَلِكُلِّ أُمَّةٍۢ جَعَلْنَا مَنسَكًۭا لِّيَذْكُرُوا۟ ٱسْمَ ٱللَّهِ عَلَىٰ مَا رَزَقَهُم مِّنۢ بَهِيمَةِ ٱلْأَنْعَٰمِ ۗ فَإِلَٰهُكُمْ إِلَٰهٌۭ وَٰحِدٌۭ فَلَهُۥٓ أَسْلِمُوا۟ ۗ وَبَشِّرِ ٱلْمُخْبِتِينَ

And for all religion We have appointed a rite [of sacrifice] that they may mention the name of Allah over what He has provided for them of [sacrificial] animals. For your god is one God, so to Him submit. And, [O Muhammad], give good tidings to the humble [before their Lord]

Tafsir 22:34

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.