Muwatta Malik, Book 31, Hadith 90 (Muwatta Malik 1436)

Malik related to me from Yahya ibn Said from Abu Bakr ibn Muhammad ibn Amr ibn Hazm from Umar ibn Abdal-Aziz from Abu Bakr ibn Abd ar-Rahman ibn al-Harith ibn Hisham from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "If anyone goes bankrupt, and a man finds his own property intact with him, he is more entitled to it than anyone else." Malik spoke about a man who sold a man wares, and the buyer went bankrupt. He said, "The seller takes whatever of his goods he finds. If the buyer has sold some of them and distributed them, the seller of the wares is more entitled to them than the creditors. What the buyer has distributed does not prevent the seller from taking whatever of it he finds. It is the seller's right if he has received any of the price from the buyer and he wants to return it to take what he finds of his wares, and in what he does not find, he is like the creditors." Malik spoke about some one who bought spun wool or a plot of land, and then did some work on it, like building a house on the plot of land or weaving the spun wool into cloth. Then he went bankrupt after he had bought it, and the original owner of the plot said, "I will take the plot and whatever structure is on it." Malik said, "That structure is not his. However, the plot and what is in it that the buyer has improved is appraised. Then one sees what the price of the plot is and how much of that value is the price of the structure. They are partners in that. The owner of the plot has as much as his portion, and the creditors have the amount of the portion of...