Sunan Ibn Majah, Book 36, Hadith 13 (In-Book)

It was narrated that Tha’labah bin Hakam said: “We came across some of the enemy’s sheep and plundered them, and set up our cooking pots. The Prophet passed by the pots and ordered that they be overturned, then he said: ‘Plunder is not permissible.’”

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ سِمَاكٍ، عَنْ ثَعْلَبَةَ بْنِ الْحَكَمِ، قَالَ أَصَبْنَا غَنَمًا لِلْعَدُوِّ فَانْتَهَبْنَاهَا فَنَصَبْنَا قُدُورَنَا فَمَرَّ النَّبِيُّ ـ صلى الله عليه وسلم ـ بِالْقُدُورِ فَأَمَرَ بِهَا فَأُكْفِئَتْ ثُمَّ قَالَ ‏ "‏ إِنَّ النُّهْبَةَ لاَ تَحِلُّ ‏" ‏ ‏.‏

sunnah.com