Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) says that in the time of the Prophet (peace and blessings be upon him) a man suffered a loss in fruits he had bought, and his debt grew large. So the Messenger of Allah (peace and blessings be upon him) said: "Give charity to him." They gave charity, but it did not cover the debt. The Messenger of Allah (peace and blessings be upon him) said: "Take what you find; you have nothing but that."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10627