Sunan Ibn Majah, Volume 3, Book 20, Hadith 2595 (DarusSalam) ⓘ
It was narrated from Abdullah bin Safwan that : his father slept in the mosque, using his upper wrap as a pillow, and it was taken from beneath his head. He brought the thief to the Prophet and the Prophet ordered that his hand be cut off. Safwan said: “O Messenger of Allah, I did not want this! I give my upper wrap to him in charity.” The Messenger of Allah said: “Why did you not give it to him before you brought him to me?”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَبَابَةُ، عَنْ مَالِكِ بْنِ أَنَسٍ، عَنِ الزُّهْرِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ صَفْوَانَ، عَنْ أَبِيهِ، أَنَّهُ نَامَ فِي الْمَسْجِدِ وَتَوَسَّدَ رِدَاءَهُ فَأُخِذَ مِنْ تَحْتِ رَأْسِهِ فَجَاءَ بِسَارِقِهِ إِلَى النَّبِيِّ صلى الله عليه وسلم فَأَمَرَ بِهِ النَّبِيُّ صلى الله عليه وسلم أَنْ يُقْطَعَ فَقَالَ صَفْوَانُ يَا رَسُولَ اللَّهِ لَمْ أُرِدْ هَذَا رِدَائِي عَلَيْهِ صَدَقَةٌ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " فَهَلاَّ قَبْلَ أَنْ تَأْتِيَنِي بِهِ " .
also referenced under: Hadith 2595 (Reference) & Book 20, Hadith 2693 (In-Book)