A man entered the mosque on Friday while the Messenger of Allah ﷺ was delivering the sermon.The Prophet ﷺ said to him, "Pray two cycles."Then he came the following Friday while the Prophet ﷺ was delivering the sermon, and the Prophet said, "Pray two cycles."Then he came on the third Friday, and the Prophet said, "Pray two cycles."Then the Prophet said, "Give in charity."So the people gave in charity, and the Prophet gave him two garments. Then he said, "Give in charity."The man threw down one of his two garments.The Messenger of Allah ﷺ said, "Did you not see this man? He entered the mosque in shabby appearance, and I hoped you would notice him and give him charity, but you did not. So I said, 'Give in charity,' and you did, and I gave him two garments. Then I said, 'Give in charity,' and he threw down one of his two garments. Take back your garment!" And he rebuked him.
أن رجلا دخل المسجد يوم الجمعة ورسول الله ﷺ يخطب، فقال: صل ركعتين. ثم جاء الجمعة الثانية والنبي ﷺ يخطب فقال: صل ركعتين. ثم جاء الجمعة الثالثة فقال: صل ركعتين. ثم قال: تصدقوا. فتصدقوا فأعطاه ثوبين، ثم قال: تصدقوا. فطرح أحد ثوبيه فقال رسول الله ﷺ: ألم تروا إلى هذا أنه دخل المسجد بهيئة بذة فرجوت أن تفطنوا له فتتصدقوا عليه فلم تفعلوا، فقلت: تصدقوا فتصدقتم فأعطيته ثوبين، ثم قلت: تصدقوا فطرح أحد ثوبيه، خذ ثوبك، وانتهره!
Nasai (2536) narrated it from Amr bin Ali, who said, Yahya narrated to us, who said, Ibn Ajlan narrated to us, from Iyad (who is Iyad bin Abdullah bin Saad bin Abu Sarh), from Abu Saeed, and he mentioned it.Its chain of transmission is hasan because of Ibn Ajlan, who is Muhammad bin Ajlan, for he is hasan al-hadith. The compilers of the Sunan works narrated it through his route, both in shortened and lengthened forms, as previously mentioned in the book of Friday.Ibn Khuzayma graded it sahih (1799), and Ibn Hibban (2503) as well, and it is found in Musnad Imam Ahmad (11197), all of them through this route.