Sunan Ibn Majah
Hadith #2812
It was narrated that ‘Amr bin ‘Abasah said:“I heard the Messenger of Allah (ﷺ) say: ‘Whoever shoots an arrow at the enemy and his arrow reaches the enemy, whether it hits him or not, that is equivalent to him freeing a slave.’”