I was among the captives of Quraiza who were brought before the Prophet. The Companions examined us, and those who had begun to grow hair were killed, but those who had not were not killed. They uncovered my private parts and when they found that the hair had not begun to grow they put me among the captives.
‘Ali reported God's Messenger as saying that Gabriel came down to him and said to him, “Give them (i.e. your companions) their choice regarding the prisoners at Badr whether they should be killed or ransomed on condition that a like number of them should be killed the following year.” They replied, “We shall accept ransom and have some of us killed.”
Tirmidhi transmitted it, saying this is a gharib tradition.
‘Ali told that some slaves came out to God’s Messenger, i.e. on the day of al-Hudaibiya, before the peace was ratified, and their masters wrote to him saying, “We swear by God, Muhammad, that they have not gone out to you through desire for your religion, but they have done so only to fly from servitude.” Some people assured him they had spoken the truth and advised him to send them back to them, but God’s Messenger became angry and said, “I do not think you people of Quraish will cease till God sends someone to you who will cut off your heads for this.” He refused to send them back, saving they were God’s freedmen.
Ibn Mas'ud told that when God’s Messenger intended to kill ‘Uqba b. Abu Mu'ait he asked who would look after the children, and he replied that hell would.