Umayr bin Ma'mun said: I heard Sayyiduna al-Hasan bin Ali (may Allah be pleased with him) say: I heard my grandfather, the Messenger of Allah (peace and blessings be upon him), say: "Whoever regularly frequents the mosque will gain a beneficial brother for the sake of Allah, the Mighty and Majestic, and fresh knowledge, and a word that calls him to guidance, and a word that turns him away from ruin; and he will abandon sins out of shame or fear; and he will gain a blessing or an awaited mercy."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 2737