It is not permissible to buy stolen goods – even if they were stolen from kaafirs. This is property that is haraam in and of itself, because it is not permissible for anyone to take possession of it, even if that is by a legitimate means such as buying it, being given it as a gift or inheriting it.

What the one who knows that what he wants to buy is stolen should do is denounce the thief and tell him to repent from stealing, and to return the goods to their owner. He should try to return the goods to their owner if possible and if he knows who they are, or he should tell them where the stolen goods are, or tell the authorities about that.

The one who buys something knowing that it is stolen is sinning, and part of his repentance is returning it to its owner and returning its price to the one to whom he sold it.

Stealing is prohibited in Islam, so it is also Haram to buy or sell or receive as a gift anything that is stolen. If you know that something is stolen, then you should neither take nor buy it.

“but do not help one another in sin and transgression”
[al-Maa’idah 5:2]

Source

pmTuWzv 1 - Buying and Selling Stolen Goods/Items