Narrated Abdullah ibn Abbas:
The Messenger of Allah (ﷺ) said on the day of Badr: He who kills a man will get such-and-such, and he who captivates a man will get such-and-such. The narrator then transmitted the rest of the tradition in a similar manner. The tradition of Khalid is more perfect.