Sahih Muslim #1958 a
The Book of Hunting, Slaughter, and what may be Eaten 34:90
Sa'id b. Jubair reported that Ibn 'Umar happened to pass by a party of men who had tied a hen and were shooting arrows at it. As soon as they saw Ibn 'Umar, they scattered from it. Thereupon Ibn Umar said:
Who has done this? Verily Allah's Messenger (ﷺ) has invoked curse upon him who does this.