USC-MSA web (English) : Book 41, Hadith 28
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ صَفْوَانَ بْنِ عَبْدِ اللَّهِ بْنِ صَفْوَانَ، أَنَّ صَفْوَانَ بْنَ أُمَيَّةَ، قِيلَ لَهُ إِنَّهُ مَنْ لَمْ يُهَاجِرْ هَلَكَ . فَقَدِمَ صَفْوَانُ بْنُ أُمَيَّةَ الْمَدِينَةَ فَنَامَ فِي الْمَسْجِدِ وَتَوَسَّدَ رِدَاءَهُ فَجَاءَ سَارِقٌ فَأَخَذَ رِدَاءَهُ فَأَخَذَ صَفْوَانُ السَّارِقَ فَجَاءَ بِهِ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم أَسَرَقْتَ رِدَاءَ هَذَا " . قَالَ نَعَمْ . فَأَمَرَ بِهِ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ تُقْطَعَ يَدُهُ فَقَالَ لَهُ صَفْوَانُ إِنِّي لَمْ أُرِدْ هَذَا يَا رَسُولَ اللَّهِ هُوَ عَلَيْهِ صَدَقَةٌ . فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " فَهَلاَّ قَبْلَ أَنْ تَأْتِيَنِي بِهِ " ."
Yahya related to me from Malik from Ibn Shihab from Safwan ibn Abdullah ibn Safwan that it was said to Safwan ibn Umayya, "Whoever does not do hijra is ruined." So Safwan ibn Umayya went to Madina and slept in the mosque with his cloak as a pillow. A thief came and took his cloak and Safwan grabbed hold of the thief and brought him to the Messenger of Allah (ﷺ). The Messenger of Allah (ﷺ) said to him, "Did you steal this cloak?" He said, "Yes." So the Messenger of Allah (ﷺ) ordered that his hand be cut off. Safwan said to him, "I did not intend this. It is his as sadaqa." The Messenger of Allah (ﷺ) said, "Why didn't you do it before bringing him to me?"
Full reference and source
USC-MSA web (English) : Book 41, Hadith 28 Arabic : Book 41, Hadith 1532
View source on Sunnah.com (opens in a new tab)