It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet ﷺ said: "If a person finds his goods in their original state with an insolvent (bankrupt) person, then he has a greater right to that property."
Hadith Referenceمسند عمر بن عبد العزيز / عمر بن عبد العزيز عن أبي بكر بن عبدالرحمن / 29