That the Messenger of Allah (ﷺ) said: "Whoever kills someone in battle, having a proof for that, then his goods are his."

There is a story with this Hadith.
Jami` at-Tirmidhi Book 21, Hadith 20