Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) reports: The Messenger of Allah (peace and blessings be upon him) saw a man praying alone in the mosque after the congregation had finished, so he said: "Is there not someone who will give charity to him and pray with him?"
Related hadith on this topic