Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: "Mosques are the houses of Allah on earth. They shine for the inhabitants of the heaven just as the stars of the sky shine for the inhabitants of the earth."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10562