Sayyiduna Abu Bakr (may Allah be pleased with him) said: When the enemy takes possession of the property of the Muslims by overpowering them, or something runs away to them, and then the Muslims recover that property, its owners are more entitled to it, both before the division and after it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18250