Hisham bin Zayd reported,

I entered with Anas upon Hakam bin Ayub, and he saw some boys, or young men, who had set up a chicken and were shooting at it. Anas said, "The Prophet ﷺ forbade that animals be tied up and used as targets."

Bukhari 5513

Sahih

حدثنا أبو الوليد حدثنا شعبة

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

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

البخاري 5513صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Slaughter and hunting
Chapter
What is disliked regarding mutilation, animals killed by restraint, and animals used as targets
Numbering
Darussalam 5513
Bukhari 5513