كتاب الصيد والذبائح وما يؤكل من الحيوان
34  
The Book of Hunting, Slaughter, and what may be Eaten
(12)
Chapter: The prohibition of cornering animals in order to kill them (for sport)
(12)
باب النَّهْىِ عَنْ صَبْرِ الْبَهَائِمِ، ‏‏
Sahih Muslim 1956 a

Hishim b. Zaid b. Anas b. Milik reported:

I visited the house of al-Hakam b. Ayyub along with my grandfather Anas b. Milik, (and there) some people had made a hen a target and were shooting arrows at her. Thereupon Asas said that Allah's Messenger (ﷺ) had forbidden tying of the animals (and making them the targets of arrows, etc.).
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، قَالَ سَمِعْتُ هِشَامَ، بْنَ زَيْدِ بْنِ أَنَسِ بْنِ مَالِكٍ قَالَ دَخَلْتُ مَعَ جَدِّي أَنَسِ بْنِ مَالِكٍ دَارَ الْحَكَمِ بْنِ أَيُّوبَ فَإِذَا قَوْمٌ قَدْ نَصَبُوا دَجَاجَةً يَرْمُونَهَا قَالَ فَقَالَ أَنَسٌ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ تُصْبَرَ الْبَهَائِمُ ‏.‏
Reference : Sahih Muslim 1956a
In-book reference : Book 34, Hadith 86
USC-MSA web (English) reference : Book 21, Hadith 4812
  (deprecated numbering scheme)