حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ الْقَعْنَبِيُّ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، - يَعْنِي ابْنَ مُحَمَّدٍ - عَنْ عَمْرٍو، - يَعْنِي ابْنَ أَبِي عَمْرٍو - عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَجُلاً، لَزِمَ غَرِيمًا لَهُ بِعَشْرَةِ دَنَانِيرَ فَقَالَ وَاللَّهِ لاَ أُفَارِقُكَ حَتَّى تَقْضِيَنِي أَوْ تَأْتِيَنِي بِحَمِيلٍ فَتَحَمَّلَ بِهَا النَّبِيُّ صلى الله عليه وسلم فَأَتَاهُ بِقَدْرِ مَا وَعَدَهُ فَقَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم ‏"‏ مِنْ أَيْنَ أَصَبْتَ هَذَا الذَّهَبَ ‏"‏ ‏.‏ قَالَ مِنْ مَعْدِنٍ ‏.‏ قَالَ ‏"‏ لاَ حَاجَةَ لَنَا فِيهَا وَلَيْسَ فِيهَا خَيْرٌ ‏"‏ ‏.‏ فَقَضَاهَا عَنْهُ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏.‏

Narrated Abdullah ibn Abbas: A man seized his debtor who owed ten dinars to him. He said to him: I swear by Allah, I shall not leave you until you pay off (my debt) to me or bring a surety. The Prophet (PBUH) stood as a surety for him. He then brought as much (money) as he promised. The Prophet (PBUH) asked: From where did you acquire this gold? He replied: From a mine. He said: We have no need of it; there is no good in it. Then the Messenger of Allah (PBUH) paid (the debt) on his behalf. Translation Not Available

Book reference: Sunan Abi Dawud Book 23 Hadith 3328
Web reference: Sunan Abi Dawud Book 22 Hadith 3322