Abu Dawud Book 9, Hadith Number 2810.

Chapter : Prohibition of making an animal target for arrows and showing kindness to an animal which is being slaughtered.

Narated By Hisham b. Zaid : I entered upon al-Hakam b. Ayyub along with anas. He saw some youth or boys who had set up a hen and were shooting at it. Anas said: The Apostle of Allah (PBUH) forbade to kill an animal in confinement.