The Table Spread - 5:95
Believers, do not kill game while you are in ihram. Whoever of you kills it intentionally, his punishment is that he should send to the Ka´bah as a sacrifice a domestic animal equal to it, to be decided by two just men from among you. Or he must feed the poor or fast the equivalent of it as a punishment. So that he may taste the punishment for what he has done. Allah has forgiven the past. Whoever does it again, Allah will take vengeance on him. Allah is the Exalted, the avenger.
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.