Was the killing of Ka'b ibn al-Ashraf the Prophet's own ijtihad or a command from Allah?
Creed & BeliefQ&A answerQ&ASeerah of Prophet Muhammed (S)7 Jan 20132P8EmMQ98qEThe video starts at 55:11, where this question begins.
The answer
Now you're raising this issue between me and him, of the ijtihad of the Prophet ﷺ. Whatever the Prophet ﷺ did, whether it was directly commanded or not, Allah 'Azza wa Jall indirectly approved. So in the end, it is all from Allah Subhanahu wa Ta'ala. Whether it is direct or indirect, it's semantics. In the end, it is from Allah Subhanahu wa Ta'ala.
An edited transcript of the video, lightly cleaned up for reading. The video is the source; if the text and the video differ, the video is correct.
Related questions
If the Prophet ﷺ made ijtihad and sometimes erred, is his ijtihad still binding on Muslims?
How can a prophet tell that a message is revelation from Allah and not from Shaytan?
If everyone is born with the same fitrah, why is the prophets' fitrah so much purer?
Why did Allah give different shari'ahs to different nations instead of the perfected one from the start?
Was Prophet Ibrahim Kurdish, since he came from northern Iraq?
Who was Azar, whom the Qur'an names as the father of Ibrahim?
Are the parents of the Prophet ﷺ in Paradise or in Hell?
When the Prophet ﷺ says he is the Sayyid of the children of Adam, does that exclude Adam himself?