Battle of Badr including a number of Quraish leaders. Most of the prisoners were released upon payment of ransom and those who were literate were released on the condition that they teach ten persons how to read and write and this teaching was to count as their ransom. William Muir wrote of this period: Two of the prisoners taken at Badr, namely Nadr ibn al-Harith and ‘Uqbah ibn Abū Mu‘ayṭ are reported to have been executed upon the order of Muhammad. According to Muslim scholar Safiur Rahman al-Mubarakpuri, these two captives were executed by Ali. Mubarakpuri says that this incident is also mentioned
Battle of the Defile the Turgesh army withdrew north towards Samarkand. The Muslim army followed, and scored a victory in a battle fought near the city. Junayd then retired with his troops to winter in Merv. During the winter, rebellions broke out south of the Oxus, in Tokharistan, which had hitherto been quiescent to Muslim rule. Junayd was forced to set out for Balkh and there dispersed 28,000 of his men to quell the revolt. This left him seriously weakened when, in early 731, the Turgesh laid siege to Samarkand and appeals for aid arrived from the city's governor, Sawra ibn al-Hurr al-Abani. Despite