Salama bin Akwa reported,

A spy from the polytheists came to the Prophet ﷺ while he was on a journey. He sat among his companions, talking with them, then he slipped away. The Prophet ﷺ said, "Pursue him and kill him." So he killed him, and the Prophet ﷺ awarded him the spy's belongings as spoils.

Bukhari 3051

Sahih

حدثنا أبو نعيم حدثنا أبو العميس

عن إياس بن سلمة بن الأكوع عن أبيه قال

أتى النبي ﷺ عين من المشركين وهو في سفر فجلس عند أصحابه يتحدث ثم انفتل فقال النبي ﷺ اطلبوه واقتلوه فقتله فنفله سلبه

البخاري 3051صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Harbi who enters the land of Islam without a guarantee of safety
Numbering
Darussalam 3051
Bukhari 3051