The Prophet (ﷺ) said: Cutting of hand is not to be inflicted on one who plunders, but he who plunders conspicuously does not belong to us.

Sunan Abi Dawud Book 40, Hadith 41