Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:4575a
Request/Fix translation

  

السيوطي:٤٥٧٥a

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

الشافعي، [حم] أحمد [ع] أبو يعلى [ق] البيهقى في السنن [ص] سعيد بن منصور عن أَبي سعيد

See similar narrations below:

Collected by Ibn Ḥibbān
ibnhibban:2505Aḥmad b. ʿAlī b. al-Muthanná > Abū Khaythamah > Yaḥyá b. Saʿīd > Ibn ʿAjlān > ʿIyāḍ b. ʿAbdullāh > Abū Saʿīd al-Khudrī

[Machine] A man entered the mosque on Friday and the Messenger of Allah ﷺ was on the pulpit. He called him and instructed him to pray two rak'ahs, then he said, "Give in charity." So they gave in charity, and he ﷺ gave him two garments from what they had given in charity. Then he said, "Give in charity." So he took off one of the garments and the Messenger of Allah ﷺ disliked what he did and said, "Look at this person who entered the mosque wearing a garment, so I hoped that you would pay attention to him and give charity to him, but you did not do that. So I said, 'Give in charity.' So they gave him two garments. Then I said, 'Give in charity.' So he took off one of the garments. Take your garment back." And he scolded him.  

ابن حبّان:٢٥٠٥أَخْبَرَنَا أَحْمَدُ بْنُ عَلِيِّ بْنِ الْمُثَنَّى قَالَ حَدَّثَنَا أَبُو خَيْثَمَةَ قَالَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ عَنِ ابْنِ عَجْلَانَ قَالَ حَدَّثَنَا عِيَاضُ بْنُ عَبْدِ اللَّهِ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ

أَنَّ رَجُلًا دَخَلَ الْمَسْجِدَ يَوْمَ الْجُمُعَةِ وَرَسُولُ اللَّهِ ﷺ عَلَى الْمِنْبَرِ فَدَعَاهُ فَأَمَرَهُ أَنْ يُصَلِّيَ رَكْعَتَيْنِ ثُمَّ قَالَ «تَصَدَّقُوا» فَتَصَدَّقُوا فَأَعْطَاهُ ﷺ ثَوْبَيْنِ مِمَّا تَصَدَّقُوا وَقَالَ «تَصَدَّقُوا» فَأَلْقَى هُوَ أَحَدَ ثَوْبَيْهِ فَكَرِهَ رَسُولُ اللَّهِ ﷺ مَا صَنَعَ وَقَالَ «انْظُرُوا إِلَى هَذَا دَخَلَ الْمَسْجِدَ بِهَيْئَةٍ بَذَّةٍ فَرَجَوْتُ أَنْ تَفْطِنُوا لَهُ فَتَصَدَّقُوا عَلَيْهِ فَلَمْ تَفْعَلُوا فَقُلْتُ تَصَدَّقُوا فَأَعْطَوْهُ ثَوْبَيْنِ ثُمَّ قُلْتُ تَصَدَّقُوا فَأَلْقَى أَحَدَ ثَوْبَيْهِ خُذْ ثَوْبَكَ» وَانْتَهَرَهُ