The Messenger of Allah (ﷺ) saw a person praying alone. He said: Is there any man who may do good with this (man) and pray along with him.
Sunan Abi Dawud Book 2, Hadith 184