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

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 (PBUH) and the Prophet (PBUH) ordered that his hand be cut off. Safwan said: “O Messenger of Allah , (PBUH) I did not want this! I give my upper wrap to him in charity.” The Messenger of Allah (PBUH) said: “Why did you not give it to him before you brought him to me?” Translation Not Available

Book Ref: Sunan Ibn Majah Book 20 Hadith 2595
Web Ref:  Sunan Ibn Majah Vol 3 Book 20 Hadith 2595