كتاب المساقاة
22  
The Book of Musaqah
(5)
Chapter: If a man finds what he sold with the purchaser, who has become bankrupt, then he has the right to take it back
(5)
باب مَنْ أَدْرَكَ مَا بَاعَهُ عِنْدَ الْمُشْتَرِي وَقَدْ أَفْلَسَ فَلَهُ الرُّجُوعُ فِيهِ ‏‏
Sahih Muslim 1559 a

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

He who found his property intact with a person (who bought it but who later on) became insolvent (or a person who became insolvent), he (the seller) is entitled to get it more than anyone else. '
حَدَّثَنَا أَحْمَدُ بْنُ عَبْدِ اللَّهِ بْنِ يُونُسَ، حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، أَخْبَرَنِي أَبُو بَكْرِ بْنُ مُحَمَّدِ بْنِ عَمْرِو بْنِ حَزْمٍ، أَنَّ عُمَرَ بْنَ عَبْدِ الْعَزِيزِ، أَخْبَرَهُ أَنَّ أَبَا بَكْرِ بْنَ عَبْدِ الرَّحْمَنِ بْنِ الْحَارِثِ بْنِ هِشَامٍ أَخْبَرَهُ أَنَّهُ، سَمِعَ أَبَا هُرَيْرَةَ، يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم - أَوْ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ - ‏ "‏ مَنْ أَدْرَكَ مَالَهُ بِعَيْنِهِ عِنْدَ رَجُلٍ قَدْ أَفْلَسَ - أَوْ إِنْسَانٍ قَدْ أَفْلَسَ - فَهُوَ أَحَقُّ بِهِ مِنْ غَيْرِهِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1559a
In-book reference : Book 22, Hadith 26
USC-MSA web (English) reference : Book 10, Hadith 3782
  (deprecated numbering scheme)