The Messenger of Allah (صلى الله عليه و سلم) said:
“Whoever purifies himself, goes to the mosque, and does not go to it to show off or compete,
but only for prayer, then he will have the reward of one who performs Hajj and Umrah.”
(Sunan Ibn Majah, Hadith 816)