Abu Bakr bin Amr narrates from Umar bin Abd al-Aziz (may Allah have mercy on him) the same hadith (with the previous chain), and in it is: "Whoever buys goods and then becomes bankrupt, their original owner has more right to them."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب التفليس / 11245