(5) باب مَنْ أَدْرَكَ مَا بَاعَهُ عِنْدَ الْمُشْتَرِي وَقَدْ أَفْلَسَ فَلَهُ الرُّجُوعُ فِيهِ
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)
Reference: Sahih Muslim 1559 d
In-book reference: Book 22, Hadith 29
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3785