It is narrated from Sayyiduna Abu Qatadah (may Allah be pleased with him): "the Messenger of Allah (peace and blessings be upon him) dispatched an army, appointed Sayyiduna Zayd bin Harithah (may Allah be pleased with him) as its commander over them, and said: 'If Zayd is martyred, then Ja'far will be commander, and if Ja'far is martyred, then Abdullah bin Rawahah will be commander.'" The narrator said: Upon this, Sayyiduna Ja'far (may Allah be pleased with him) sprang up and said: "O Messenger of Allah (peace and blessings be upon him), I was never afraid that Zayd would be appointed over me." He (peace and blessings be upon him) said: "Go forward, for you do not know in which of these lies the good for you." Then the Prophet (peace and blessings be upon him) stood up and, addressing the Companions (may Allah be pleased with them) in a sermon, said: "Listen! Shall I not inform you about this army of yours that has gone out to fight? They lined up against the enemy, and Zayd attained martyrdom, so seek forgiveness for him. Then Ja'far took up the banner and launched a fierce attack on the enemy until he was martyred; I bear witness to his martyrdom, so seek forgiveness for him too. Then Abdullah bin Rawahah took hold of the banner and stood firm until he too attained the rank of martyrdom, so seek forgiveness for him as well. Then Khalid bin al-Walid took up the banner of jihad, though he was not one of the appointed commanders."
Imam Abu Bakr bin Abi Shaybah and Imam al-Nasa'i in 'al-Kubra' recorded this hadith with a chain whose narrators are all thiqat (trustworthy). Likewise, Imam Ahmad bin Hanbal also recorded it and, after the words 'Wa lam yakun min al-umara'' (though he was not one of the commanders), added: "He took command by himself. Then the Messenger of Allah (peace and blessings be upon him) raised his blessed finger and implored Allah: 'Allahumma innahu sayfun min suyufika fansurhu' (O Allah, he is one of Your swords, so help him). From that day Sayyiduna Khalid bin al-Walid (may Allah be pleased with him) came to be called 'Sayf Allah' (the Sword of Allah). Then he (peace and blessings be upon him) said: 'Go forth and reinforce your brothers, and let no one stay behind.' The narrator said: So the people set out in the scorching heat, on foot and riding."
Hadith Takhrij«رواه أبو بكر بن أبي شيبة والنسائي في الكبرى بسند رواته ثقات» «أخرجه مسند أحمد برقم: 22045، وأخرجه سنن الدارمي برقم: 2448، وأخرجه فتح الباري برقم: 4013، وأخرجه صحيح ابن حبان برقم: 7048، وأخرجه السنن الكبرى للنسائي برقم: 8403، 8492، 8524»