A man was holding onto his debtor over ten dinars, saying, "By Allah, I will not leave you until you pay me or bring me a guarantor."So the Prophet ﷺ stood as guarantor for him. The debtor later came to the Prophet ﷺ with the amount he had promised.The Prophet ﷺ asked him, "Where did you get this gold from?"He replied, "From a mine."The Prophet ﷺ said, "We have no need for it, there is no good in it."Then the Messenger of Allah ﷺ paid the debt on his behalf.
أن رجلا لزم غريما له بعشرة دنانير، فقال: والله لا أفارقك حتى تقضيني، أو تأتيني بحميل، فتحمل بها النبي ﷺ، فأتاه بقدر ما وعده، فقال له النبي ﷺ: من أين أصبت هذا الذهب؟ قال: من معدن. قال: لا حاجة لنا فيها، وليس فيها خير. فقضاها عنه رسول الله ﷺ.
Abu Dawud (3328), Ibn Majah (2406), Abd bin Humayd (596), Hakim (10/2-11), and Bayhaqi (74/6) all narrated it through the route of Abdul-Aziz bin Muhammad Darawardi, from Amr bin Abu Amr, from Ikrima, from Ibn Abbas, and he related it. The wording given is that of Abu Dawud. In another wording, the Prophet ﷺ said to him, "How long an extension do you ask for him?" He said, "A month." The Messenger of Allah ﷺ said, "Then I will bear it for him." Its chain of transmission is hasan because of Darawardi, for his hadith is hasan. Hakim said, sahih in chain. Bayhaqi said, "In this there is something like an indication that the debt remained his responsibility even after it was assumed on his behalf, until the period of extension was confirmed upon him. Then the Prophet ﷺ voluntarily undertook to pay it on his behalf, and kept himself clear of dealing with the wealth of the mine."As for his saying, "We have no need for it," this was because he had assumed on the man's behalf minted dinars that used to be brought to them from the lands of the Byzantines, since the first person to establish the minting of coins in Islam and strike dinars was Abdul-Malik bin Marwan, as is well known. What the man brought, however, was unminted gold, so the Prophet ﷺ refrained from accepting it.