It was narrated from Abu Sa'eed that:
a man entered the Msjid on a Friday when the Messenger of Allah was delivering the Khutbah, and he said: Pray two Rak'ahs. Then he came on the following Friday, when the Prophet was delivering the Khutbah and he said: Pray two Rak'ahs. Then he came on the third Friday, when the Prophet was delivering Khutbah and he said: Pray two Rak'ahs. Then he said: Give in charity. So they gave in charity, and he gave him (that man) two garments. Then he said: Give in charity and (that man) threw one of his two garments. The Messenger of Allah said: Have you not seen this man? He entered the Masjid in scruffy clothes and I hoped that you would notice him, and give charity to him, but you did not do that, So I said, 'Give in charity.' You gave in charity, and I gave him two garments, then I said; 'Give in charity' and he threw one of his two garments. Take your garment. And he rebuked him.