Hadithcore
Mishkat al-Masabih, 3596

Jabir reported God’s Messenger as saying, "Cutting off the hand is not to be inflicted on one who plunders, but he who does so conspicuously does not belong to us.” Abu Dawud transmitted it.

وَعَنْ جَابِرٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَيْسَ عَلَى الْمُنْتَهِبِ قَطْعٌ وَمَنِ انْتَهَبَ نُهْبَةً مَشْهُورَةً فَلَيْسَ مِنَّا» . رَوَاهُ أَبُو دَاوُد

References1 variant
In-Book Reference
Book 17, Hadith 40