Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) narrates: Sayyiduna Jibreel (peace be upon him) came to the Prophet (peace and blessings be upon him) and said to him: Give them the choice, that is, give your companions the choice regarding the prisoners. If they wish, they may kill them, and if they wish, they may take ransom. On the condition that next year, the same number of them will be killed. Those people said: We will take ransom, so then the same number of us were killed.