Hisham bin Zayd bin Anas bin Malik reported,

I entered the house of Hakam bin Ayub with my grandfather Anas bin Malik, and there were people who had set up a chicken and were shooting at it.Anas said, "The Messenger of Allah ﷺ forbade that animals be tied up and used as targets."

Azami 7271

Sahih

عن هشام بن زيد بن أنس بن مالك قال

دخلت مع جدي أنس ابن مالك دار الحكم بن أيوب، فإذا قوم قد نصبوا دجاجة يرمونها قال: فقال أنس: نهى رسول الله ﷺ أن تصبر البهائم.

الأعظمي 7271صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hunting and slaughtering
Chapter
Hunting
Section
Prohibition of restraining animals and shooting them
Numbering
Jami al-Kamil 7271 (2nd edition)
Azami 7271