It is narrated from Sayyiduna Jabir bin Samurah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: The enemy seized the she-camel of a Muslim man, then another Muslim bought that she-camel from the enemy. Its original owner recognised it and came to the Prophet (peace and blessings be upon him), and the Prophet (peace and blessings be upon him) ordered that he take it back for the same price for which the buyer had bought it from the enemy, or else leave him and the she-camel be.
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2051