Sahih Muslim, Book 22, Hadith 29 (Muslim 3952)

Abu Huraira (Allah be pleased with him) reported Allah's Apostle (ﷺ) as saying:

When a man becomes insolvent (and the other) man (the seller) finds his commodity intact with him, he is more entitled to get it (than anyone else)