Muwatta Malik, Book 41, Hadith 28 (USC-MSA) ⓘ
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, may Allah bless him and grant him peace. The Messenger of Allah, may Allah bless him and grant him peace, said to him, "Did you steal this cloak?" He said, "Yes." So the Messenger of Allah, may Allah bless him and grant him peace, 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, may Allah bless him and grant him peace, said, "Why didn't you do it before bringing him to me?"
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ صَفْوَانَ بْنِ عَبْدِ اللَّهِ بْنِ صَفْوَانَ، أَنَّ صَفْوَانَ بْنَ أُمَيَّةَ، قِيلَ لَهُ إِنَّهُ مَنْ لَمْ يُهَاجِرْ هَلَكَ . فَقَدِمَ صَفْوَانُ بْنُ أُمَيَّةَ الْمَدِينَةَ فَنَامَ فِي الْمَسْجِدِ وَتَوَسَّدَ رِدَاءَهُ فَجَاءَ سَارِقٌ فَأَخَذَ رِدَاءَهُ فَأَخَذَ صَفْوَانُ السَّارِقَ فَجَاءَ بِهِ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم " أَسَرَقْتَ رِدَاءَ هَذَا " . قَالَ نَعَمْ . فَأَمَرَ بِهِ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ تُقْطَعَ يَدُهُ فَقَالَ لَهُ صَفْوَانُ إِنِّي لَمْ أُرِدْ هَذَا يَا رَسُولَ اللَّهِ هُوَ عَلَيْهِ صَدَقَةٌ . فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " فَهَلاَّ قَبْلَ أَنْ تَأْتِيَنِي بِهِ " .
also referenced under: Book 41, Hadith 1532 (In-Book)