Sayyidina Ali (RA) reported that Allah’s Messenger said, that Jibril came and said, ‘Give authority to your sahabah to either execute or receive ransom from the captives of Badr on condition that in the following year a like number of them should be killed. They said, ‘(We choose) ransom and that some of us may be killed (next year).’