Sunan an-Nasa'i al-Kubra 8536
Muḥammad b. ʿAbdullāh b. Yazīd > Sufyān > ʿAmr > ʿAṭāʾ > Ibn ʿAbbās
The Muslims met a man with some sheep of his. He said: Peace be upon you. But they killed him and took those few sheep. Thereupon the following Qur'anic verse was revealed: "...And say to anyone who offers you a salutation: Thou art none of believer, coveting the perishable good of this life." meaning these few sheep.
أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ يَزِيدَ قَالَ حَدَّثَنَا سُفْيَانُ عَنْ عَمْرٍو سَمِعَ عَطَاءً عَنِ ابْنِ عَبَّاسٍ قَالَ §لَحِقَ الْمُسْلِمُونَ رَجُلًا فِي غَنِيمَةٍ لَهُ فَقَالَ
السَّلَامُ عَلَيْكُمْ فَقَتَلُوهُ وَأَخَذُوا غَنِيمَتَهُ فَأَنْزَلَ اللهُ تَعَالَى {وَلَا تَقُولُوا لِمَنْ أَلْقَى إِلَيْكُمُ السَّلَامَ لَسْتَ مُؤْمِنًا تَبْتَغُونَ عَرَضَ الْحَيَاةِ الدُّنْيَا} [النساء 94] تِلْكَ الْغَنِيمَةُ