Language:
كتاب الجهاد والسير
56  
Fighting for the Cause of Allah (Jihaad)
(158)
Chapter: Telling lies in war
(158)
باب الْكَذِبِ فِي الْحَرْبِ
Sahih al-Bukhari 3031

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) said, "Who is ready to kill Ka`b bin Al-Ashraf who has really hurt Allah and His Apostle?" Muhammad bin Maslama said, "O Allah's Messenger (ﷺ)! Do you like me to kill him?" He replied in the affirmative. So, Muhammad bin Maslama went to him (i.e. Ka`b) and said, "This person (i.e. the Prophet) has put us to task and asked us for charity." Ka`b replied, "By Allah, you will get tired of him." Muhammad said to him, "We have followed him, so we dislike to leave him till we see the end of his affair." Muhammad bin Maslama went on talking to him in this way till he got the chance to kill him.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏"‏ مَنْ لِكَعْبِ بْنِ الأَشْرَفِ، فَإِنَّهُ قَدْ آذَى اللَّهَ وَرَسُولَهُ ‏"‏‏.‏ قَالَ مُحَمَّدُ بْنُ مَسْلَمَةَ أَتُحِبُّ أَنْ أَقْتُلَهُ يَا رَسُولَ اللَّهِ قَالَ ‏"‏ نَعَمْ ‏"‏‏.‏ قَالَ فَأَتَاهُ فَقَالَ إِنَّ هَذَا ـ يَعْنِي النَّبِيَّ صلى الله عليه وسلم ـ قَدْ عَنَّانَا وَسَأَلَنَا الصَّدَقَةَ، قَالَ وَأَيْضًا وَاللَّهِ قَالَ فَإِنَّا قَدِ اتَّبَعْنَاهُ فَنَكْرَهُ أَنْ نَدَعَهُ حَتَّى نَنْظُرَ إِلَى مَا يَصِيرُ أَمْرُهُ قَالَ فَلَمْ يَزَلْ يُكَلِّمُهُ حَتَّى اسْتَمْكَنَ مِنْهُ فَقَتَلَهُ‏.‏
Reference : Sahih al-Bukhari 3031
In-book reference : Book 56, Hadith 238
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 270
  (deprecated numbering scheme)