Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) narrates: A man from Banu Sulaym passed by some companions of the Prophet (peace and blessings be upon him), and that man had some goats with him. The man greeted them with salam, but those people said: "He only greeted you so that he could be safe from you." They attacked him, killed him, and took his goats. Then they brought those goats to the Prophet (peace and blessings be upon him), so Allah the Exalted revealed this verse: "O you who believe! When you go forth in the way of Allah, investigate carefully..." — and the verse continues to the end.
Hadith Referenceصحیح ابن حبان / كتاب السير / 4752
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيحسن - انظر التعليق. * [التعليق] قال الشيخ: قال الحاكم (2/ 235): «صحيح الإسناد»! ووافقه الذهبي! وقال الترمذي (8/ 199 / 3033): «حديث حسن»؛ يعني لغيره. وهذا هو الصواب لاضطراب سِمَاكٍ - وهو ابن حرب - في روايته عن عكرمة خاصة. وسكت عنه الحافظ في «الفتح» (8/ 258) - مُشيراً بذلك إلى تقويته - بعد أن حكى التصحيح والتحسين المذكورين. وقد أخرجه البخاري (4591)، ومسلم (8/ 243) وغيرُهما مِنْ طريق عطاء، عن ابن عباس ... به ببعض اختصار.فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح