Hisham bin Zayd bin Anas bin Malik reported,

I went with my grandfather Anas bin Malik into the house of Hakam bin Ayub, and there we found some people who had set up a hen and were shooting at it.Anas said, "The Messenger of Allah ﷺ forbade tying up animals as targets."

Muslim 5058

Sahih

و حدثنيه زهير بن حرب حدثنا يحيى بن سعيد وعبد الرحمن بن مهدي ح و حدثني يحيى بن حبيب حدثنا خالد بن الحارث ح و حدثنا أبو كريب حدثنا أبو أسامة كلهم عن شعبة بهذا الإسناد

مسلم 5058صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hunting, slaughtering, and what may be eaten of animals
Chapter
Prohibition of restraining animals for killing
Numbering
Darussalam 5058
Muslim 5058